The story of life on earth is written in the rocks.