The molecule they all come from is water molecule
Having more than one atom in its molecule doesn't make
a substance a compound. It's only a compound if it has
atoms of different elements in its molecule.
Both atoms in an Oxygen molecule are the same element ... Oxygen.