When light enters a medium of a different refractive index and changes direction, like a pencil in water.