This discovery paved the way for all electrical batteries.
The galvanic cell, named after Galvani, consists of two metals connected by an electrolyte which forms a salt bridge between the metals. This results in an electric potential between the two metals. If an electrical connection, such as a wire or direct contact, is formed between the two, an electric current flows. At the same time, ions of the more active metal, which forms the anode, are transferred through the electrolyte to the less active metal, the cathode, and deposited there as a plating. In this way the anode is consumed or corroded.
A similar process is used in electroplating.
Unwanted galvanic cells are formed whenever two metals are in contact in the presence of an electrolyte, such as salt water, resulting in the galvanic corrosion of the more active metal. There are two common ways of preventing this. One is to insulate the two metals from each other, for example plastic or fibre washers are used to separate steel water pipes from copper-based fittings. The other is the use of sacrificial anodes.
" class="external">http://www.sonoma.edu/users/b/brooks/115b/galvanic.html " class="external">http://define.ansme.com/words/g/galvanic_cell.html http://www.woodrow.org/teachers/chemistry/institutes/1986/exp28.html