A marine gyro compass is a navigation instrument used onboard ships and other marine vessels to determine the vessel's true heading regardless of the vessel's motion due to factors like waves, tides, and ship maneuvers.