The bending of light when it passes a boundary from a different medium. The bending of light is caused by the change of speed and wavelength due to the difference of material's density. Longer time for light to travel in a material with greater density.