A rainbow is formed when sunlight is incident on water droplets suspended in the air due to