A bond is formed when two or more atoms join together through sharing or exchanging electrons to achieve stability. A molecule is two or more bonded atoms, and a substance can be either a pure element or compound made of two or more elements. There are two main types of bonds: covalent bonds formed by sharing electrons between nonmetals and ionic bonds formed by a transfer of electrons between a metal and nonmetal. The periodic table arranges elements and can provide information about their valence electrons and reactivity through bonding properties.