All matter is composed of basic building blocks called atoms and molecules. Atoms are the smallest units that make up elements, and molecules are formed when atoms combine. Atoms contain protons, neutrons, and electrons. Protons and neutrons are located in the central nucleus, while electrons orbit around the nucleus in defined energy shells. Elements are pure substances made of only one type of atom, while compounds are made of two or more different elements bonded together. Atoms can bond through ionic bonds by transferring electrons or covalent bonds by sharing electrons to form molecules. The periodic table organizes the known elements based on their atomic structure.