Here's how it works:
* Refraction: A prism is made of a transparent material like glass or plastic. When light enters the prism at an angle, it bends, or refracts.
* Different Colors, Different Bends: Different colors of light (like red, orange, yellow, green, blue, indigo, and violet) bend at slightly different angles. This is because each color has a different wavelength.
* Separation: Because the colors bend differently, they are separated as the light exits the prism. This creates the familiar rainbow pattern.
Other devices can also split light, including:
* Diffraction grating: This device uses a series of closely spaced lines to diffract light, separating it into its component colors.
* Holographic grating: This is a more complex type of diffraction grating that uses interference patterns to create a 3D image.
Let me know if you'd like to know more about any of these!