Oxygen gas (O2) is a molecule composed of two oxygen atoms bonded together. It is considered a compound because it consists of two or more different elements chemically combined. In this case, oxygen gas is a compound of the element oxygen (O).