A compass is a magnet and Earth is a magnet. How does the magnetism of a compass work with the
magnetism of Earth so that a compass is a useful tool for navigating?