Electrolysis: The method of producing a chemical reaction by passing electric current through liquids containing ions is called electrolysis.
Electroplating: A process which uses electrolysis to coat one metal with another is called electroplating. The object to be plated is made the cathode and the metal to be deposited on to the object is made the anode.