Stratigraphy is the branch of geology that deals with the study of rock layers (strata) and layering (stratification). By analyzing the sequence and composition of these layers, geologists can reconstruct the Earth's history, including past environments, geological events, and the evolution of life.