Why does white light from the sun form a colorful rainbow when it passes through water droplets in the atmosphere?[Rainbow]

AThe droplets of water in the air have different densitiesincorrect answer
BDifferent-sized water droplets refract white light at different anglesincorrect answer
CThe colors that make up white light refract at different anglesincorrect answer
DWhite light diffracts when it encounters water

D. White light diffracts when it encounters water.

When white light passes through water droplets in the atmosphere, it is refracted and dispersed into its component colors due to diffraction. This causes the formation of a colorful rainbow.