Answer:
Rainbows form in the sky when sunlight is refracted, or bent, as it enters a raindrop. This bending causes the different colors in the light to separate and spread out, forming the characteristic arc of a rainbow. The colors are arranged in a specific order, with red on the outer edge of the arc and violet on the inner edge. The colors are also more vivid when the sun is lower in the sky, such as during sunrise or sunset, because the light has to travel through more of the Earth's atmosphere to reach your eyes.