How Lithium Batteries Work Internally