Energy in a battery is stored in the form of **chemical energy**. Inside a battery, chemical reactions occur between the materials in the anode (negative terminal) and cathode (positive terminal), typically involving the transfer of electrons. When a battery is connected to an external circuit, this chemical energy is converted into electrical energy, allowing the flow of electrons through the circuit, powering devices.
The specific chemical processes depend on the type of battery (e.g., lithium-ion, lead-acid, etc.), but in all cases, the energy is stored in the chemical bonds of the materials used.