Magnesium may be made by carrying out electrolysis on molten magnesium chloride, $\text{MgCl}_2$. What products are produced at the anode and at the cathode during the electrolysis of molten magnesium chloride?
- Aanode: chlorine; cathode: hydrogen
- Banode: chlorine; cathode: magnesium
- Canode: magnesium; cathode: chlorine
- Danode: oxygen; cathode: hydrogen