Aqueous sodium chloride solution electrolyzed produces chlorine gas at the anode and hydrogen gas at the cathode. Whereas electrolysis of molten sodium chloride yields chlorine gas at anode but liquid sodium metal at cathode.