What do the poles of a magnetized needle on a compass align themselves with?

(:magnetic field :)