Step-by-step explanation:
Electrolysis is a redox (reduction-oxidation) reaction that transfers electrons from the positive electrode called the anode to the negative electrode called the cathode with the help of a voltage source such as a battery. The anode shrinks as it gets oxidized by losing electrons, (oxidation) and the cathode grows as it gets reduced with electrons (reduction). In electroplating, the cathode is an object that needs to be plated with metal. Electrons flow to the object and reduce the surface of the object to produce a thin plating of metal. This is electroplating, and it is done to protect objects from corrosion such as spoons.