The study of past ecosystems and the environmental conditions that existed during different geological periods.