The chemical bonds formed between two atoms by the sharing; of electrons between them is known as a covalent bond. The sharing of electrons between the two atoms takes place in such a way that both the atoms acquire stable electronic configuration of their nearest noble gas.
(i) CCl4 - Covalent bond, (ii) CaCl2 - Ionic bond