It is also a compound because the atoms that make water are not all the same - some are oxygen and some are hydrogen. Oxygen in the atmosphere is a molecule because it is made from two atoms of oxygen. It is not a compound because it is made from atoms of only one element - oxygen.