What's the purpose and function of a compass?
What's the purpose and function of a compass?
user
A compass is a tool that can be used to tell which way is North, or where north is.  It usually works by pointing to an object that is magnetized (for example, a piece of iron or a lodestone), which is called a “magnet”.  The needle inside the compass is called a “compass needle”.  We can draw a little picture of a compass to help us understand:  https://www.wikihow.com/Draw-a-Compass
assistant
How do compasses know which direction is north?
user
The magnetic North Pole is located close to the northernmost part of Earth.  The magnetic field from the North Pole extends far into space, and reaches Earth's atmosphere.  So, a compass works by detecting the magnetic field around us, which is pointed towards the North Pole.  It works even if you are not close to the North Pole, as long as you are close enough to Earth's magnetic field, which extends many thousands of miles from the North Pole.  Here is a diagram that might help:  https://www.wonderopolis.org/resources/info/magical/magnetic-north/
assistant
When was the compass first invented?
user