Atoms are the smallest unit of matter. This unit of matter is made of protons (positive charge), neutrons (no charge), and electrons (negative charge).
Elements are a pure chemical substance consisting of one type of atom distinguished by its atomic number, which is the number of protons in its nucleus.
A compound is a substance made of atoms of different elements bonded together in a certain ration. One type of compound will always have the same combination of atoms.