A rainbow is a meteorological phenomenon that occurs when sunlight is refracted, reflected, and dispersed in water droplets, creating a spectrum of light in the sky. It typically appears as a multicolored arc, with red on the outer edge and violet on the inner edge. Rainbows are most commonly seen after rain when the sun is shining.
Rainbows can also be classified into primary and secondary types. A primary rainbow has one arc, while a secondary rainbow appears outside the primary arc and has its colors reversed. The study of rainbows involves concepts from physics, particularly optics, and is often associated with mythology and art.