why xef2 has linear shape?
The lone pairs take up the most space, so they occupy the equatorial positions. The C-F sigma bonds occupy the axial positions. The shape of the molecule refers only to the arrangement of the bonds. The bonds are at angles of 180° from each other, so XeF₂ is a linear molecule.