What is relative dating of rocks and give one example

Relative dating of rocks is a method used to determine the sequence in which events occurred in Earth's history. This method relies on the principle of superposition, which states that in an undisturbed sequence of sedimentary rock layers, the oldest rocks are located at the bottom and the youngest at the top.

One example of relative dating is the use of index fossils. Index fossils are widespread and existed for only a brief period of time. By identifying these fossils in a specific rock layer, geologists can compare the age of that layer to other layers containing the same index fossils. This allows them to establish a relative age for the rocks and determine their position within a geological time scale.