Earth's base magnetic field is similar to that of a giant bar magnet. The solar wind warps this base field into a slightly different shape. However, in either case, Earth's magnetic field lines come together at the planet's poles... which is why compasses work, and is also why the aurora are most frequently seen near the North and South Poles.
Images courtesy the COMET program and Windows to the Universe original artwork.