Sodium hydroxide is obtained by electrolysis of an aq.solution of NaCl in castner kellner cell using Mercury cathode and carbon anode .Sodium metal which is discharged at cathode combines with Mercury to form sodium amalgam.Cl2 is evolved at anode. The sodium amalgam thus obtained is treated with water to form sodium hydroxide and hydrogen gas.