According to the VSEPR theory, the geometry and shape of the molecule depends upon:
Both bond pair as well as lone pair of electrons in the valence shell of the central atom
The VSEPR theory states that the geometry and shape of the molecule depends upon the number of electrons (bonded as well as non-bonded) in the valence shell of the central atom.