How do metals and non-metals react with oxygen?
Metals generally react with oxygen to form metal oxides, which are often basic in nature. For instance, magnesium reacts with oxygen to form magnesium oxide. Non-metals, however, tend to form non-metal oxides, which are usually acidic, such as how sulfur reacts with oxygen to produce sulfur dioxide.