A battery is a device that converts chemical energy, stored in the bonds of chemical compounds, into electrical energy, generated by electrons moving between atoms.
Batteries are made from many materials including various metals, carbon, polymers and even air. The most common are lead-acid batteries used in vehicles and lithium-ion batteries used for portable electronics.