If all the atoms in the molecule are of the same kind, the molecule is

an element. If at least one of the atoms in the molecule is of a
different kind, the result is a

compound.