Atoms bond because the bonded arrangement has lower energy than the separate atoms. In ionic bonding, electrons are transferred, usually from a metal to a non-metal, and the resulting oppositely charged ions attract in a lattice. In covalent bonding, non-metal atoms share pairs of electrons. In metallic bonding, positive ions are held together by a sea of delocalised electrons.
Unequal sharing of electrons, caused by differences in electronegativity, makes a covalent bond polar. The shape of a molecule can be predicted from the repulsion between electron pairs around the central atom. Weaker intermolecular forces, including London dispersion forces, dipole-dipole attractions and hydrogen bonds, explain melting and boiling points.




