An atom is the smallest unit of matter that retains the chemical properties of an element. It is composed of a dense nucleus containing protons and neutrons, surrounded by a cloud of electrons. An element is a pure substance that consists of only one type of atom. All atoms of a specific element have the same number of protons.