Oxygen in the atmosphere is a molecule because it contains molecular bonds. It is not a compound because it is made from atoms of only one element oxygen. This type of molecule is called a diatomic molecule, a molecule made from two atoms of the same type