Is O2 an element, compound, or mixture?

O2 is a molecule made up of two oxygen atoms bonded together. It is considered a molecule and therefore a compound.