(a) Sodium hydroxide is prepared commercially by the electrolysis of brine solution in Castner-Kellner cell using a mercury cathode and a carbon anode.
(b) Sodium metal is discharged at the cathode and combines with mercury to form sodium amalgam.
(c) Chlorine gas is evolved at the cathode.
(d) The sodium amalgam thus obtained is treated with water to give sodium hydroxide.