The correct answer is dispersion. When white light passes through a prism or a water droplet, it bends or refracts at different angles depending on its wavelength. This process, known as dispersion, causes the white light to separate into its constituent colors, resulting in a spectrum of colors called a rainbow.