Two nonmetal atoms can form a maximum of three covalent bonds between each other depending on the number of electron pairs that they need to share to attain a noble gas configuration.
Two atoms, such as the diatomic oxygen, that share two pairs of electrons (i.e., four electrons in all) form a double covalent bond represented by (=).
Covalent compounds are electrically nonconducting because their constituent atoms are bound to the molecules and do not dissociate into electrically charged particles when dissolved in water.
The forces of attraction between covalent molecules are relatively weaker than in ionic compounds; thus, they have low melting and boiling points and are soft.