An oxide is a chemical compound that contains at least one oxygen atom and one other element. The other element can be a metal, a nonmetal, or a metalloid. Oxides are typically formed when an element reacts with oxygen. For example, when iron reacts with oxygen, it forms iron oxide.