how electricity is produced by battery?
A battery is a device that stores chemical energy, and converts it to electricity. ... In an electrochemical cell, electrons are produced by a chemical reaction that happens at one electrode (more about electrodes below!) and then they flow over to the other electrode where they are used up.