Steps involved in the electrolysis of molten ionic compounds:
1️⃣ Electrodes are placed in the molten ionic compound
2️⃣ An electric current is applied
3️⃣ Positively charged cations move to the cathode
4️⃣ Negatively charged anions move to the anode
5️⃣ Cations are reduced at the cathode
6️⃣ Anions are oxidized at the anode