First, the anode and cathode are placed in a bath of the electrolytic solution and connected to each other. Then, the power source sends a direct current (DC) of electricity to the anode. The current oxidizes the metal and allows the metal alloys to dissolve into the solution as positive ions.