Geology isn’t related to dinosaurs.
But geology (more specifically, chronostratigraphy) is elemental to the dating of fossils.