The components required for the electrolysis of molten NaCl are a source of electrical energy such as a battery and electrodes (anode and cathode). Electrolysis is the process of decomposing and electrolyte (either and aqueous solution or molten solution) by passing an electric current through it. During electrolysis the positive ion moves to the negatively charged electrode (cathode), while the negatively charged ions go to the anode.