6.24 Name the processes from which chlorine is obtained as a by-product. What will happen if an aqueous solution of NaCl is subjected to electrolysis?

 In the electrolysis of molten NaCl, CL2 is obtained at the anode as a by product.  
                                                                           NaCL(melt)  Na+(melt) + CL-(melt)At cathode: Na+(melt) + e-  Na(s)At anode: Cl-(melt)  Cl(g) + e-2CL(g)  Cl2(g)The overall reaction is as follows:NaCL(melt) Electrolysis Na(s) + 12Cl2(g)If an aqueous solution of NaCl is electrolyzed, Cl2 will be obtained at the anode but at the cathode, H2 will be obtained (instead of Na). This is because the standard reduction potential of Na (E°= − 2.71 V) is more negative than that of H2O (E° = − 0.83 V). Hence, H2O will get preference to get reduced at the cathode and as a result, H2 is evolved. 

                                                                              NaCL(aq)  Na+(aq) + CL-(aq)At cathode: 2H2O(l) + 2e-  H2(g) + 2OH(aq)-At anode: Cl-(melt)  Cl(g) + e-2CL(g)  Cl2(g)