Which rock type is most useful in studying the history of living organisms?