The wavelength of the microwaves is smaller, so they can be transmitted as a beam signal in the desired directions. And also, microwaves do not change their path when it collides with any object. The microwaves may reflect from the object but it cannot change their path. Hence, it is used in radar.