(1) In Down's process for the manufacture of sodium, the electrolysis of NaCl gives chlorine as a byproduct.
NaCl(l)Electrolysis−−−−−−−→Na+(melt)+Cl−(melt)
At anode : Cl−(melt)→Cl(g)+e−
Cl(g)+Cl(g)→Cl2(g)
At cathode : Na+(melt)+e−→Na(s)
(2) In Castner Kellner cell, electrolysis of brine solution is carried out to manufacture NaOH (caustic soda). Chlorine is obtained as a byproduct.