Covalent bond

Two hydrogen atoms can share each of their single electrons and create a strong attraction called a covalent bond.

Two or more atoms linked by covalent bonds form stable molecules with unique properties.

Thus a hydrogen gas molecule (H2) has a covalent bond (a pair of shared electrons) between two hydrogen atoms.