The difference is, Elements are pure substances made up of the same types of atoms and Compounds are elements with different atoms that are combined together in a fixed ratio.
The similarity is that both compounds and elements are made of atoms and sometimes molecules.