Electrochemistry refers to the conversion of chemical energy to electrical energy and vice versa. It is basically the study of Production of electricity from energy released during spontaneous reaction and use of electrical energy to bring about non-spontaneous chemical transformation.
A spontaneous chemical reaction is a reaction which happens on its own and releases free energy. This reaction produces electric energy from chemical reaction. For example, burning of coal, rusting of iron, melting of ice, etc.
On the other hand non-spontaneous reaction occurs by providing an external source like electricity. For example, Hydrolysis of water.
Electrochemistry is used for the following purposes.
Production of metals like sodium hydroxide, chlorine, fluorine and many other chemicals.
It is also used for purification of metals.
The process is used in batteries as well as fuel cells which converts the chemical energy into electrical energy and is used in several instruments and devices.
This process is used in electroplating.
The reactions carried out using the process of electrochemistry are energy effective and less polluting.