Covalent bond can be formed from the following ways:
Covalent bond is the bond formed when there is sharing of electrons between two or more atoms where each atom gets its pie to complete its electron shell.
The electrons shared in the covalent bond are outermost valence shell of an atom.
Since the electron shell of each atom is completed, the compounds formed from covalent bond are much stable.
Due to high stability of Covalent bond, there is large energy required to break covalent bond.
Examples of compound formed from covalent bond are etc.,
Below is the diagram clearly explains the formation of covalent bond: