Why do atoms bond together to form molecules?

Created from Britannica articles using AI. AI can make mistakes, so verify using Britannica articles.

Atoms bond together to form molecules primarily to achieve greater stability by reaching a lower energy state. This process is driven by the behavior of valence electrons, which are the electrons in an atom's outermost region.12

Many elements follow the octet rule, which states that atoms tend to gain, lose, or share electrons to attain a stable configuration of eight electrons in their outer shell, similar to the arrangement of noble gases. Atoms achieve this stability through several types of bonding:3

  • Ionic bonding: Occurs when one atom transfers electrons to another, creating oppositely charged ions. The resulting electrostatic force of attraction locks these ions together.145
  • Covalent bonding: Occurs when atoms share pairs of electrons. According to molecular-orbital theory, this is energetically favorable because the electrons in the resulting bonding molecular orbital exist at a lower energy level than they did in their original atomic orbitals.15
  • Metallic bonding: Occurs when atoms share outer electrons across the entire material, creating a "sea" of electrons that holds positive ions together.5

Ultimately, the formation of these bonds allows systems to transition from a state of higher potential energy to one of lower, more stable energy.16