In the electrolysis of aqueous sodium chloride with inert electrodes, the products obtained at anode and cathode respectively are $Cl _{2}$ and $H _{2}$.
The solution contains four ions $Na ^{+}, Cl^- , H ^{+}, \overline{ O } H .$
Following reaction takes place:
At cathode $Na ^{+}( aq )+ e ^{-} \longrightarrow Na ( s ) ; $
$E^-_{ Na ^{+} / Na } =-2.71 V $
$2 H _{2} O (l)+2 e^{-} \longrightarrow H _{2}(g)+2 \overline{ O } H ( aq ) ;$