I bet you didn’t know that when you shine a flashlight creating a beam of white light, within that beam all the colors of the rainbow exist.
That simple white beam of light is actually a combination of purple, blue, green, yellow, orange and red colored beams.
If you take that beam of white light and send it through a glass prism, the different colors will show themselves vividly as they exit at a different angle.
Rainbows are created in a similar manner.
Read more: Rainbows: The Secrets Behind These Optical Illusions