When light waves pass from one medium to another (like air to glass), their speed and wavelength change, but their frequency remains constant. The frequency of a wave is determined by the source emitting the light and does not change when the medium changes.