Electrochemistry is the chemistry of reactions which involve electron transfer. In spontaneous reactions electrons are released with energy which can be used in electrochemical…