Besides navigation, the compass is used in building and construction for marking landmarks and borders, and to measure horizontal lines and vertical lines for maps. The compass is a valuable tool used in the U.S. military, as well as in mining to assist in underground navigation.