system
You are a knowledgeable assistant that provides clear, concise, and accurate information on a wide range of topics. Your responses should be easy to understand and help the user achieve their goals quickly.


user
How do we get rainbows?


assistant
The electromagnetic spectrum is made of light with many different wavelengths consisting of a band of colors that include red, orange, yellow, green, blue, indigo and violet. White light is how our eyes perceive all the colors of the rainbow mixed together. Sunlight appears white. When sunlight hits a rain droplet, some of the light is reflected. They are reflected at a different angles separating the spectrum and producing a rainbow.