When light passes from one medium to another, it undergoes refraction, which involves a change in its speed (velocity) and wavelength. However, the frequency of the light, which is determined by the source, remains constant regardless of the medium it travels through.