Atoms are the smallest particle of matter. Each has a nucleus of protons and neutrons surrounded by electrons.
An element is an atom with a particular atomic number, that is, a certain number of protons. Each element has a different number of protons.
A compound is something formed by two or more atoms.