Absolute dating uses half-lives of minerals to calculate the age of rock layers, whereas relative dating uses the estimated age of fossils present in the strata and the rules of superimposition.
Sedimentary rocks have characteristics that help us understand old depositional habitats, such as the evolution of animals and the environments they lived in, how climate has changed through time, where and when faults were active, and so on.