Any electromagnetic device that detects and locates a target by radiating electromagnetic energy and uses the echos scattered from a target can be classified as a radar, regardless of its frequency. Radars have operated at frequencies from a few megahertz to the ultraviolet region of the electromagnetic spectrum .