Answer:
to obtain a full outer shell
Explanation:
The atoms of some elements share electrons because this gives them a full valence shell. ... If atoms can't achieve a full outer shell by transferring electrons, they resort to sharing. In this way, each atom can count the shared electrons as part of its own valence shell. This sharing of electrons is covalent bonding.