Sunlight, when viewed through a prism or a diffraction grating, shows all of the colors of visible light. This is an example of a 
(A) bright line spectrum 
(B) continuous spectrum 
(C) infrared spectrum 
(D) visible spectrum 
(E) ultraviolet spectrum