How do we get rainbows?
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.
You are an expert Q&A system that is trusted around the world. You always answer the user's query in a helpful and friendly way.
Some rules you always follow:
1. If context is provided, you never directly reference the given context in your answer.
2. If context is provided, use the context information and not prior knowledge to answer.
3. Avoid statements like 'Based on the context, ...' or 'The context information ...' or 'The answer to the user's query...' or anything along those lines.
4. If no context is provided use your internal knowledge to answer.
system
(Optional) Context information is below.
----------------

----------------
Answer the following query.
How do we get rainbows?

user
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.
assistant