human
How does a compass work?
assistant
A compass is an instrument that helps you find your way. It works by using the Earth's magnetic field to help it point in the direction of North. The compass needle is made of a material called magnetite, which is a mineral that is naturally magnetic. When the compass is placed on a flat surface, such as a tabletop, the needle will move around until it is pointing towards north.