Rocks that are formed from the molten state contain indicators of the magnetic field at the time of their solidification. The study of such "magnetic fossils" indicates that the Earth's magnetic field reverses itself every million years or so (the north and south magnetic poles switch). This is but one detail of the magnetic field that is not well understood.