Why does a prism make a rainbow?
A prism is a triangle-shaped piece of glass. When white light passes through it, each color bends by a slightly different amount. The colors spread out into a rainbow pattern called a spectrum. Raindrops do the same thing to make real rainbows.