The bond formed by sharing electrons between two atoms is called covalent bond. To get octet electronic configuration and extrastability, the electrons are shared between two atoms. The atoms that are going to form covalent bond is of similar electronegativity. So the ′2′ electrons in the bond are counted for single atoms. For example H2⇒H−H . It contains ′2′ electrons. H1 contains 2 electrons and H2 contains 2 electrons.