Fossils provide a vital record of ancient life, preserved primarily within sedimentary rocks . The journey from death to discovery involves rapid burial, lithification, and chemical replacement.