Step-by-step explanation:
The phenomenon of refraction occurs when light passes through different mediums, causing a change in its direction and speed. This change is due to the variation in the speed of light in different mediums, according to Snell's law. Refraction is a result of the bending of light waves as they transition between mediums with different optical densities.