During purification of a metal by electrolysis, what happens at the negat..

During purification of a metal by electrolysis, what happens at the negat..