Refraction is the change in direction of a wave as it travels from one medium to another. For instance, when light travels from air to glass or water waves travel from deep to shallow water.
A ray diagram showing refraction at the boundary between air ... The diagram shows that as wave travels into a denser medium, such as water, it slows down and wavelength decreases.