A glass prism is able to produce a spectrum when white light passes through it but a rectangular block of same transparent glass does not produce any spectrum. Why ?
In a parallel glass slab light is refracted on both the parallel side. net refraction of light results in only the lateral displacement of the light and net deviation of light to be zero. So, incident and emergent ray are parallel to each other so, it cannot produce any spectrum.