Intermolecular forces

Molecules are held to each other by forces much weaker than the bonds inside them, and the stronger those attractions are, the more energy it takes to pull the molecules apart, which is why substances with stronger intermolecular forces boil at higher temperatures.

A worked example

Compare methane (CH₄), hydrogen chloride (HCl) and water (H₂O), which have similar sizes. Methane is non-polar, so it has only London forces and boils at −162 °C. HCl is polar, so it adds dipole-dipole forces and boils at −85 °C. Water has hydrogen bonded to oxygen, so it adds hydrogen bonds, the strongest of the three, and boils at 100 °C.

The mistake people actually make

Boiling separates molecules from each other; it does not break the covalent bonds inside them. Hydrogen bonding needs hydrogen bonded directly to nitrogen, oxygen or fluorine, so a molecule that merely contains hydrogen does not hydrogen bond.

Practice: The Diversity of Matter and Chemical Bonding