Basic definition:Electric energy can be derived from various forms of energy changes. The device that converts chemical energy into electrical energy is called a chemical battery. It is generally referred to simply as a battery. The battery has a primary battery and a secondary battery.