Dear Student,
The products formed when a concentrated aqueous solution of sodium chloride is electrolysed using platinum cathode are hydrogen and chlorine. But electrolysis of molten NaCl gives different products, sodium metal and chlorine gas.
Regards