How can limestone deposits be used to learn about earth's history?

Limestone deposits from coral reefs help provide info on the age of the earth.