The magnetic quality of ancient rocks is called paleomagnetism. It is the study of the record of the Earth's magnetic field in rocks, sediment, or archeological materials. Certain minerals in rocks lock-in a record of the direction and intensity of the magnetic field when they form.