Stratigraphy is the branch of geology that studies rock layers (strata) and layering (stratification). It plays a crucial role in understanding Earth's history, the age of rocks, and the processes that formed them, linking various aspects of geology such as fossil analysis, geological time, and tectonic settings.