A sextant is a navigational instrument used to measure the angle between two visible objects, typically the horizon and a celestial body, to determine a ship's latitude and longitude at sea. It is an essential tool in celestial navigation, allowing mariners to accurately chart their course before the advent of GPS technology.