<!--td {border: 1px solid #ccc;}br {mso-data-placement:same-cell;}-->
(a) In a chemical reaction, when the oxygen is added to the element to form its respective oxide it is the element being oxidised. Example:
4Na+O2→2Na2O
H2S+O2→H2O+SO2
(b) In a chemical reaction, when the oxygen is being removed from the compound then it is said to be reduced. Example:
CuO(s)+H2(g)→Cu(s)+H2O
2HgO→2Hg+O2