It has cadmium and oxide ions in it .
Cadmium oxide is prepared commercially by oxidizing cadmium vapor in air .