Geologists use the relative dating rules of cross-cutting and superposition to determine the timing of deposition and deformation. For example, when one sedimentary layer sits above another, it can be inferred that the top layer is most likely younger than the layer below. Furthermore, if a fault or igneous body cuts across a particular rock unit, then the fault or igneous body must be younger than the rock unit it offsets.
Nicolaus Steno, a Danish anatomist, geologist, and priest (1636 - 1686) observed the changes in a sequence of rock layers while working in the mountains of Italy. Steno’s observations became known as the Law of Superposition which stated that in a sequence of sedimentary rock layers, each layer of rock is older than the layer above it and younger than the rock layer below it. The Law of Superposition also applies to other geologic processes on Earth's surface, such as lava flows and ash layers from volcanic eruptions.
The Law of Superposition meant that the Coconino Sandstone is older than the Toroweap Formation and younger than the Hermit Shale as seen in the image above. As it pertained to the Geologic Time Chart, the Law of Superposition meant that the Jurassic Period was older than the Cretaceous Period and younger than the Triassic Period.
https://imnh.iri.isu.edu/exhibits/online/geo_time/geo_principles.htm#super
Described by Scotsman James Hutton (1726 - 1997), the Law of Crosscutting Relationships stated that if a fault or other body of rock cuts through another body of rock then it must be younger in age than the rock through which it cuts and displaces.
In the image above a dike of igneous rock cuts through three layers of previously deposited sedimentary rocks. In this instance is the dike the oldest or the youngest rock unit?
https://imnh.iri.isu.edu/exhibits/online/geo_time/geo_principles.htm#cross
The Law of Inclusions was also described by James Hutton and stated that if a rock body (Rock B) contained fragments of another rock body (Rock A), it must be younger than the fragments of rock it contained. The intruding rock (Rock A) must be older to provide the fragments to be incorporated into Rock B.
The image to the left shows bifurcating, undeformed felsic dykes cutting schists with a deformed foliation. Were the dykes to have been present during either of the deformation events they would lack the planar planar margins and one or more of cleavages would cut through the bodies. They can thus be taken to have intruded after deformation that produced the folded foliation. The youngest dyke runs across the image as its porphyritic habit cuts through the dyke run vertically in the image.
Image from Roncagli Glacier, Cordillera Darwin, Chile