Electrolysis of aqueous sodium chloride produces chlorine at the anode, hydrogen at the cathode and sodium hydroxide in solution. The sodium hydroxide makes the solution alkaline.