How does a golf rangefinder work

How does a golf rangefinder work