Radar uses radio waves to detect objects and determine their range, direction, and speed. It works by transmitting pulses of radio waves and receiving the echoes bounced back from objects. The time delay between transmission and reception is used to calculate distances to targets. Doppler radar uses the Doppler effect of radio waves to detect how fast targets are moving based on changes in frequency of the echoes.