The correct option is D All of the above
The formation of rainbow involves all three phenomenon: Refraction, dispersion, and total internal reflection. The sunlight shines on a water droplet. As the light passes into the raindrop the light bends, or refracts. Due to slow down of light, white light gets dispersed into seven colours. Then total internal reflection happens on the other end of the drop.