How have our knowledge of minerals and rocks and relative and absolute dating and index fossils helped us to construct a geological and biological history of earth?