Understanding Lithium-ion Batteries