The Doppler effect is a phenomenon observed whenever the source of waves is moving with respect to an observer. The Doppler effect can be described as the effect produced by a moving source of waves in which there is an apparent upward shift in frequency for the observer and the source are approaching and an apparent downward shift in frequency when the observer and the source is receding.
We are most familiar with the Doppler effect because of our experiences with sound waves. Perhaps you recall an instance in which a police car or emergency vehicle was traveling towards you on the highway. As the car approached with its siren blasting, the pitch of the siren sound (a measure of the siren's frequency) was high; and then suddenly after the car passed by, the pitch of the siren sound was low. That was the Doppler effect - a shift in the apparent frequency for a sound wave produced by a moving source.