The correct answer is:
B. to explain that light travels in a straight line until it passes from one material into another.
This is because light generally travels in straight lines in a uniform medium, but can change direction (refract) when it passes from one medium to another, such as from air to glass.