Stratigraphy establishes relationships between rock layers by classifying them into mappable units called formations, which can be subdivided into members and grouped into units called groups. Correlating rocks means establishing their equivalency using physical stratigraphy techniques like lithostratigraphy (comparing rock types), magnetostratigraphy (comparing magnetic polarity sequences), and sequence stratigraphy (using sea level curves), or biostratigraphy techniques like comparing fossil zones, evolutionary lineages, and index fossils to determine the relative or absolute ages of rock layers.