When different elements react with oxygen, they produce an 'oxide'
For example;
Magnesium + oxygen --> magnesium oxide
2 Mg (s) + O2 (g) --> 2 MgO (s)
Sulfur + oxygen --> sulfur(IV) oxide (sometimes called sulfur dioxide - think why)
S (s) + O2 (g) --> SO2 (g)
Sodium + oxygen --> sodium oxide
4 Na (s) + O2 (g) --> 2 Na2O (s)
Notice that oxides can be made by reacting both metal elements (e.g. magnesium) with oxygen or non-metal elements (e.g. sulfur) with oxygen. It's important which is which, because they changes the properties of the resulting oxide.
Even though you don't need to know the equations to explain why this happens, it is worth seeing why....
MgO (s) + H2O (l) --> Mg(OH)2 (aq) - a metal hydroxide is made and hydroxides are always alkali
Even though you don't need to know the equations to explain why this happens, it is worth seeing why....
SO2 (s) + H2O (l) --> H2SO3 (aq) - this makes a chemical called sulfurous acid (not to be confused with sulfuric acid which you are used to!) But because it's an acid, it has a pH less than 7.