The Doppler effect is the change in frequency or wavelength of a wave in relation to an observer who is moving relative to the wave source. Police radar guns emit radio waves towards a moving vehicle. When these waves reflect off the vehicle, their frequency is shifted. If the vehicle is moving towards the radar, the reflected waves have a higher frequency; if moving away, they have a lower frequency. The radar unit measures this frequency shift and calculates the vehicle's speed based on the magnitude of the shift.