Martin P. answered 08/18/22
Doctorate science - 9 years secondary and college teaching experience.
The molecular shape of a covalently bonded molecule or the shape of a polyatomic ion is based on the VSEPR Theory (Valence Shell Electron Pair Repulsion Theory) to try to explain the three dimensional geometry of a molecule which is based on the supposition that electron pairs will orient themselves in such a way as to minimize the repulsive affects that the electrons have, given electrons have the same charge. The lone pairs repel other pairs of electrons and the molecule will geometrically arrange itself in space to minimize this repulsion and help determine the molecular shape that is most advantageous.