A compass uses the Earth's magnetic field, and points to the North magnetic pole. A north side of the magnet is attracted to the south side of another magnet. However, the north side of the compass points to the north pole, this can only mean that the "north pole" is really the magnetic south, and the "South magnetic pole" is really the magnetic north.