A sextant is a navigational instrument used to measure the angle between two visible objects, typically the horizon and a celestial body, to determine latitude and longitude at sea or in space exploration.