A rangefinder is a device that measures distance from the observer to a target, in a process called ranging.