Electrochemistry deals with the relation between electrical energy and chemical energy and with method of their inter-conversion.  It is the study of  production of electricity from energy released during spontaneous chemical reaction and the use of that electricity to bring out non- spontaneous chemical transformation.