When a light ray travels from air into glass, it undergoes refraction and bends towards the normal.
When a light ray travels from air into glass, it undergoes a process called refraction. Refraction is the bending of light as it passes from one medium to another due to a change in the speed of light. In this case, when light enters glass from air, it bends towards the normal, which is a line perpendicular to the surface of the glass. The amount of bending depends on the refractive indices of the two materials and can be calculated using Snell's Law.
Learn more about Refraction of light