A compass is a navigational instrument for determining direction relative to the Earth's magnetic poles. It consists of a magnetized pointer (usually marked on the North end) free to align itself with Earth's magnetic field. The compass greatly improved the safety and efficiency of travel, especially ocean travel.