A student sets up the apparatus shown below to carry out the electrolysis of molten zinc chloride, ZnCl2\text{ZnCl}_2ZnCl2.

Which statement correctly describes the chemical process occurring at Electrode Y?
The chloride ion, Cl−\text{Cl}^-Cl−, loses electrons.
The zinc ion, Zn2+\text{Zn}^{2+}Zn2+, gains electrons.
The zinc ion, Zn2+\text{Zn}^{2+}Zn2+, loses electrons.
The chloride ion, Cl−\text{Cl}^-Cl−, gains electrons.