When white light enters a prism, it gets split into its constituent colours. This is due to
1
Refractive index of glass for different colors of light is different
2
Glass prism absorbs white light and emits lights of several colors in different directions
3
Of the total internal reflection of white light on the surface of the prism
4
Of the interference of different colors inside the prism