Human: What is the difference between a sextant and a compass? Assistant: 
A sextant is an optical instrument used to measure angles in astronomy. It uses two mirrors to reflect light from a distant object, like the moon or stars, through a series of lenses and prisms. The angle formed by these reflections is then measured using a graduated scale on the sextant. This allows astronomers to calculate the distance between the object and the observer.