Cd²⁺ reduces to Cd (the oxidation number decreases from 2 to 0), whereas Mg oxidizes to Mg²⁺ (the oxidation number increases from 0 to 2). We can get the overall cell reaction by adding both half-reactions:
Biosphere is just a planet. Solar system contains planets and star. Galaxy holds multiple solar systems only. Universe hold everything, biospheres, solar systems, and galaxies. I hope this helps :D