Answer:
Hydrogen and halogens.
Step-by-step explanation:
There are seven types diatomic molecules are present in natural state: Hydrogen, chlorine, fluorine, nitrogen, bromine, iodine, and oxygen.
Hydrogen is the first element which have one electron and needs only one electron to fill its valence shell and form 2 hydrogen single bond to form H2.
The halogens, chlorine, fluorine, bromine, and iodine they all contain seven valence electrons. They all need one more electron so, they are sharing their one electron to fill its valence shell, and get Cl2, F2, Br2 and I2 (all single bonds)
Oxygen contains six valence electrons, each oxygen molecule needs 2 more electrons, and they contain 2 unpaired electrons. So, they share both electrons and form double bond.
Nitrogen contains five valence electrons. Each nitrogen atom required 3 more electrons and contains 3 unpaired electrons. The 2 atoms shares all 3 with each other molecule and this form a triple bond.
So, only Hydrogen and halogens form diatomic molecules with the help of single bond