This question already has an answer here:
Covalent bonds are formed by sharing electrons. The pictures depicting this bond make it seem like that the shared electrons stay in a fixed/limited place. What happens in reality? If they rotate around their nucleus how the shared electrons hold the two nuclei in an atom?