An element is a pure substance made up of only one type of atom. A compound is a substance made up of atoms of different elements chemically bonded together. For example, oxygen (O₂) is an element, while water (H₂O) is a compound.