The Doppler effect is an observed frequency of light and sound waves affected by the relative motion of the source and the detector.