Saltwater can serve as the electrolyte in a battery, thus generating electricity. A battery has three parts: an electrolyte and two electrodes, which are made of different materials, often metals. Some of the first batteries, made by Alessandro Volta around 1880, used saltwater, silver and zinc to generate electricity. This type of battery is easy to build and experiment with.
Read more : http://www.ehow.com/how-does_4883969_making-electricity-salt-water.html