When copper sulphate is dissolved in water, it breaks into positively charged ions (cations) and negatively charged ions (anions).
Cations move towards the negatively charged electrode (cathode), and anions move towards the positively charged electrode (anode), thereby depositing copper at the cathode. This experiment shows that an electric current can bring about a chemical change and the phenomenon is called electrolysis.