Oxygen reacts with both magnesium and sulfur, but the products are very different in nature.
1. Reaction of oxygen with magnesium
Magnesium is a metal. When a magnesium ribbon is heated in air, it burns with a dazzling white flame and combines with oxygen to form magnesium oxide, a white powder:
\[2\mathrm{Mg}+\mathrm{O_2}\rightarrow 2\mathrm{MgO}\]
Magnesium oxide is basic in nature. When it is dissolved (or suspended) in water, it forms magnesium hydroxide, which turns red litmus blue:
\[\mathrm{MgO}+\mathrm{H_2O}\rightarrow \mathrm{Mg(OH)_2}\]
So the oxide of the metal magnesium is basic.
2. Reaction of oxygen with sulfur
Sulfur is a non-metal. When sulfur is heated and burnt in air (oxygen), it burns with a blue flame and forms sulfur dioxide, a colourless, pungent-smelling gas:
\[\mathrm{S}+\mathrm{O_2}\rightarrow \mathrm{SO_2}\]
Sulfur dioxide is acidic in nature. It dissolves in water to form sulfurous acid, which turns blue litmus red:
\[\mathrm{SO_2}+\mathrm{H_2O}\rightarrow \mathrm{H_2SO_3}\]
So the oxide of the non-metal sulfur is acidic.
Main differences in the nature of the products
| Feature | Product with magnesium | Product with sulfur |
|---|
| Product | Magnesium oxide (MgO) | Sulfur dioxide (\(\mathrm{SO_{2})}\) |
| Element type | Metal oxide | Non-metal oxide |
| Physical appearance | White solid powder | Colourless gas with pungent smell |
| Nature in water | Basic (forms \(\mathrm{Mg(OH)_{2})}\) | Acidic (forms \(\mathrm{H_{2}SO_{3})}\) |
| Effect on litmus | Turns red litmus blue | Turns blue litmus red |
Conclusion: Metals such as magnesium form basic oxides on reaction with oxygen, whereas non-metals such as sulfur form acidic oxides. This is the main difference in the nature of the products.