Why does white light separate into different colors?

A.
magnification

B.
refraction

C.
reflection

D.
dispersion

D. dispersion