Geographic North and South pole
The earth also has a magnetic field
What is confusing is that we call the south pole of the earth magnet the magnetic north pole and the north pole of the earth magnet the magnetic south pole. The pole names of a magnet are derived from this.
The magnetic south pole is found near the geographic north pole and the magnetic north pole is found near the geographic south pole. Therefore, a free-spinning magnet always takes on a north-south orientation.
With a pole indicator, you can see where the north or south pole of a magnet is located.