How could you distinguish an element from a compound?
If it is on the periodic table, it is an element.
An element is a pure substance and is found on the periodic table. If you have more than one element chemically bonded, it is a compound.
Hydrogen, oxygen, and iron are all elements.