A sodium chloride solution contains Na+ , Cl- , H+ and OH- ions. On passing electricity, Na+ and H+ move towards cathode and Cl- and OH - ions towards anode. The discharge potential of H+ is less than Na+ , therefore hydrogen ions get discharged easily similarly at anode, Cl- ions easily discharged as Cl2 . Solution becomes rise in Na+ and OH- ions.