Layne conducted an investigation using objects and light. She determined that light behaves differently depending on the medium. Which statement correctly shows her understanding of light after the investigation?
A: A prism can bend light into the visible spectrum.
B: Light does not change direction when meeting matter.
C: Light does not travel from one place to another.
D: The moon produces its own light as seen from Earth.