The magnetic field of the earth has the same shape as?

The magnetic field of the earth has the same shape as that of a bar magnet. It has a north and south pole and the field lines extend from the north pole to the south pole. The magnetic field protects the earth from harmful solar winds and radiation.