A rainbow is a meteorological phenomenon that displays a spectrum of light appearing in the sky, typically when sunlight shines on water droplets. This beautiful arc of colors occurs due to the refraction, dispersion, and reflection of light within those droplets, creating the vibrant bands that we see. The presence of a rainbow is often associated with rain or mist, as the conditions for its formation involve both sunlight and moisture in the atmosphere.