What is the difference between an element and a compound?
An element is made up of atoms that are all the same.
An example is hydrogen, where all molecules are made up of two hydrogen atoms:
Compounds are made up out of different types of atoms:
If all molecules in a substance are the same, we speak of a pure substance, otherwise it's a mixture.