The Doppler effect is a change in the observed frequency of a wave due to relative motion between the source and observer. There are three cases: when the source is moving and the observer is stationary, when the observer is moving and the source is stationary, and when both are moving. The direction and speed of motion determines whether the observed frequency is higher or lower compared to the actual frequency.