D. the rocks of Earth’s crust, especially sedimentary rocks
Sedimentary rocks, in particular, preserve evidence of past geologic events and life forms through the layers they contain, which can include fossils and information about ancient environments.