A compass consists of a magnetic needle or dial that aligns itself with the Earth's magnetic field, allowing users to identify cardinal directions—North, South, East, and West. Most compasses are housed in a protective casing with markings to aid in navigation.