Answer:
The diffraction grating separates light into colors as the light passes through the many fine slits of the grating. This is a transmission grating. ... The prism separates light into colors because each color passes through the prism at a different speed and angle.