Classify the following reaction on the basis of energy change :
Electrochemical reaction- An electrochemical reaction is a process in which electrons flow between a solid electrode and a substance, such as an electrolyte. This flow triggers an electric current through the electrodes, causing the reaction to liberate or absorb heat.
In the above question, an electric current is passed to decompose sodium chloride into sodium and chlorine gas.
Hence, the answer is an electrochemical reaction.