It is also used to make pigments ( cadmium sulfide ) , kill nematodes , make nickel cadmium batteries , and electroplating cadmium . Cadmium oxide is used in cadmium plating baths , electrodes for storage batteries , cadmium salts , catalyst , ceramic glazes , phosphors , and nematocide . Major uses for cadmium oxide are as an ingredient for electroplating baths , and in pigments .