The compass uses the Earth's magnetic field to indicate north, using the principle of magnetic field repulsion with the same polarity and attraction with different polarities, and then using north as a starting point, setting it to zero degrees and determining the angle clockwise from each position, so it can be used to indicate direction.
Positioning should be used in conjunction with maps to find relative positions to understand where you are.
Note that compass north is not true north, but magnetic north. This is because the Earth's north and south poles and geomagnetic north and south poles are not in one position, but rather have an angle. This angle is called the magnetic declination.
The magnetic declination at different locations is generally different, and the magnetic declination at the same location also changes over time.
The magnetic declination range is probably between 1º and 50º. It should also be noted that at the South Pole and North Pole, the compass cannot be used due to the influence of the strong magnetic field.
Listen to the content of the video to learn more about this topic.