The reconstruction of past environments based on the information obtained from the rock and fossil record.