Here's why:
* Representative elements are found in groups 1, 2, and 13-18 of the periodic table. They are also known as main group elements.
* Transition elements are found in groups 3-12 of the periodic table. They are characterized by having partially filled d orbitals.
Oxygen is located in Group 16 (VIA) of the periodic table, making it a representative element.