It involves a direct current passing from one electrode (the anode) through a liquid electrolyte to another electrode (the cathode) in a cell. The passage of ions from the anode causes the pure metal only to be electrodeposited on the cathode.