Answer:
Every magnet has two sides: a north pole and a south pole. We use these names because if you hang a magnet from a thread, the magnet’s north pole points (almost) towards the north direction.
This is because the Earth’s core (its centre) is a large, weak magnet. Your little, strong magnet lines up with Earth’s magnetic core, so it points north. That’s how a magnetic compass works.