Explanation
Dispersion is the separation of white light into its constituent colors. A rainbow is formed because light of each color bends at a slightly different angle as it passes through a raindrop.