The marine sextant is used to measure the elevation of celestial bodies above the horizon.