Which best describes paleomagnetism?

A. The study of plate movement.
B. The study of rock formations
C. The study of earthquakes
D. The study of ancient magnetic fields

D. The study of ancient magnetic fields