The aqueous solution of sodium chloride is known as brine solution. On electrolysis of brine solution, the following reactions are observed.
Oxidation reaction takes place at anode and reduction reaction takes place at cathode. The reaction
Anode: 2OH−→21O2+H2O+2e⊝
Cathode: H2O+e⊝→21H2+OH⊝
Hydrogen and oxygen are electrode products. The remaining solution contain NaOH.
Hence, HCl is not obtained