A diatomic molecule is a molecule that is comprised of two atoms.
Examples of elements that form diatomic molecules in the gas phase are oxygen and nitrogen (the main components of air), as well as hydrogen and at least four of the halogens (fluorine, chlorine, bromine, iodine, and possibly astatine).