A rainbow is formed due to the dispersion of sunlight by water droplets in the atmosphere. When sunlight enters a water droplet, it bends (refracts) and separates into different colors (dispersion). These colors then reflect off the inside surface of the droplet and refract again as they exit the droplet, forming a circular arc of colors visible as a rainbow.
The correct option is (B): water droplets