For example, when two hydrogen atoms come together, they share their single electrons to form a covalent bond. This bond is formed because it is more energetically favourable for the two atoms to share their electrons than it is for each atom to hold onto its own electrons.
The number of covalent bonds that an atom can form depends on its valence electron configuration. Valence electrons are the electrons in the outermost shell of an atom, and they are the electrons that participate in chemical bonding. For example, carbon has four valence electrons, so it can form four covalent bonds.
Covalent bonds are the strongest type of chemical bond, and they are found in many different types of molecules, such as water, carbon dioxide, and DNA.