The kind of bond formed when two atoms share electrons to form a molecule is called a covalent bond.