When light travels one medium to another of differing density, its speed changes.
Speed of light is higher in a medium of less density as compare with one higher density. The change in velocity of light when it travels from one media to another of different density results in the refraction phenomenon.
As we have learned in form 4 chapter 5, light, the refraction of light obey the law of refraction, where