When a ray passes from air into glass the direction in which the light ray is travelling changes. The light ray appears to bend as it as it passes through the surface of the glass. ... This 'bending of a ray of light' when it passes from one substance into another substance is called refraction.