Answer and Explanation:
Covalent bond is formed when electrons are shared by the atoms to fulfill their outermost shell.
In colvalent bond atoms shares electron to gain stability because if their outermost shell is not fulfilled then they are unstable.
So to gain stability electrons are shared by atoms in covalent bond , when they share electron their outermost shells are fulfilled and they become stable