The cadmium is condensed and used . Cadmium is also taken by precipitating it from the solution of zinc sulfate used to make pure zinc by electrolysis .
Cadmium is isolated from the zinc metal by vacuum distillation if the zinc is smelted , or cadmium sulfate is precipitated out of the electrolysis solution .