A doppler radar measures both the distance and relative speed of the object. A doppler radar directly and instantaneously measures speed by detecting the frequency shift of the return signal relative to the transmitted signal. The analogy is when you hear an approaching siren go higher in frequency and then go lower as the siren recedes. That is the doppler effect as shown by sound waves. With radar, the effect is measured by a frequency shift in radio waves instead.