If the diatomic molecule consists of atoms from two different elements, then it is aheteronuclear diatomic molecule. There are seven elements that naturally occur as homonucleardiatomic molecules in their gaseous states: hydrogen,nitrogen, oxygen, fluorine,chlorine, bromine, and iodine