The study of how species have evolved over millions of years can provide insights into Earth's history.