Electrolysis of molten NaCl with Pt electrode:
In molten NaCl , the ions Na+ and Cl− are present in molten form
Reaction at anode :
2Cl−(l)⇌Cl2(g)+2e−
So, chlorine gas is given at anode.
Reaction at cathode :
Na+(l)+e−⇌Na(s)
At cathode, sodium metal is there.
Net reaction:
2Na+(l)+2Cl−(l)⇌2Na(s)+Cl2(g)2NaCl(l)⇌2Na(s)+Cl2(g)