Oxidation and reduction take place during the process of electrolysis at the anode (positive electrode) and the cathode (negative electrode)
Positive ions are attracted towards the cathode
Reduction (gain of electrons) takes place here
E.g. Pb2+ + 2e– → Pb
Negative ions are attracted towards the anode
Oxidation (loss of electrons) takes place here
E.g. 2Br– → Br2 + 2e–