In the electrolysis of aqueous sodium chloride solution, chlorine gas is liberated at the anode.
$
Cl _{( aq )}^{-}+ e ^{-} \rightarrow \frac{1}{2} Cl _{2}+ e ^{-}
$
$
E _{\text {cell }}^{0}=1.36 V
$
This is because $Cl ^{-}$ions have lower discharge potential than $OH ^{-}$ions.