Diatomic molecules (from Greek di- 'two') are molecules composed of only two atoms, of the same or different chemical elements. If a diatomic molecule consists of two atoms of the same element, such as hydrogen (H2) or oxygen (O2), then it is said to be homonuclear. Otherwise, if a diatomic molecule consists of two different atoms, such as carbon monoxide (CO) or nitric oxide (NO), the molecule is said to be heteronuclear. The bond in a homonuclear diatomic molecule is non-polar.
The only chemical elements that form stable homonuclear diatomic molecules at standard temperature and pressure (STP) (or at typical laboratory conditions of 1 bar and 25 °C) are the gases hydrogen (H2), nitrogen (N2), oxygen (O2), fluorine (F2), and chlorine (Cl2), and the liquid bromine (Br2).[1]
The noble gases (helium, neon, argon, krypton, xenon, and radon) are also gases at STP, but they are monatomic. The homonuclear diatomic gases and noble gases together are called "elemental gases" or "molecular gases", to distinguish them from other gases that are chemical compounds.[2]
At slightly elevated temperatures, the halogens bromine (Br2) and iodine (I2) also form diatomic gases.[3] All halogens have been observed as diatomic molecules, except for astatine and tennessine, which are uncertain.
Other elements form diatomic molecules when evaporated, but these diatomic species repolymerize when cooled. Heating ("cracking") elemental phosphorus gives diphosphorus (P2). Sulfur vapor is mostly disulfur (S2). Dilithium (Li2) and disodium (Na2)[4] are known in the gas phase. Ditungsten (W2) and dimolybdenum (Mo2) form with sextuple bonds in the gas phase. Dirubidium (Rb2) is diatomic.