The magnetic field lines of a bar magnet can be traced out with the use of a compass. The needle of a compass is itself a permanent magnet and the north indicator of the compass is a magnetic north pole. The north pole of a magnet will tend to line up with the magnetic field, so a suspended compas needle will rotate until it lines up with the magnetic field. Unlike magnetic poles attract, so the north indicator of the compass will point toward the south pole of a magnet. In response to the Earth's magnetic field, the compass will point toward the geographic North Pole of the Earth because it is in fact a magnetic south pole. The magnetic field lines of the Earth enter the Earth near the geographic North Pole.