The whistle of a fast moving train appears to increase in pitch as it approaches a stationary observer and it appears to decrease as the train moves away from the observer. This apparent change in frequency was first observed and explained by Doppler in 1845.
The phenomenon of the apparent change in the frequency of sound due to the relative motion between the source of the sound and the observer is called the Doppler Effect.