During cathodic deposition, an electric current is passed through an electrolyte solution containing metal ions. These ions migrate towards the cathode, where they gain electrons and are reduced to form a solid metal layer on the substrate. The process can be fine-tuned by adjusting parameters such as the current density, deposition time, and electrolyte composition.