We can refine metals such as copper and zinc in the process of electrolysis. This Lottie animation illustrates electrolysis.