A rainbow is a meteorological phenomenon that is caused by reflection, refraction, and dispersion of light in water droplets, resulting in a spectrum of light appearing in the sky. It takes the form of a multicolored circular arc. Rainbows caused by sunlight always appear in the section of sky directly opposite the sun.
When sunlight encounters a raindrop, it is refracted, or bent, as it enters the droplet. The light is then reflected off the inside surface of the droplet, and once again refracted as it exits the droplet. This process disperses the light into its individual colors, creating the spectrum of colors that we see in a rainbow.
Understanding the formation of rainbows can lead to a greater appreciation of the natural world and the physics of light and color.