A battery is a device that stores chemical energy and converts it into electrical energy, providing a source of power for various electrical devices and circuits. It is a fundamental component in the understanding of topics such as electric potential energy, Ohm's law, resistors in series and parallel, and electromotive force.