A molten ionic substance consists of the ions that make up an ionic compound. During electrolysis these ions, which are contained in the electrolyte solution, are separated through attraction to the two separate electrodes. The cathode is the negative electrode which attracts cations (positively charged ions) and the anode is the positive electrode which attracts anions (negatively charged ions). When the actions reach the cathode, they are reduced meaning they gain electrons. When the anions reach the anode, they are oxidised therefore losing the electrons. in electrolysis of a molten substance the atoms are deposited at the electrodes forming the metal at the cathode and the non-metal at the anode. The process relies on the flow of electrons through the electrodes which slows for generation of a current.