Plants that lived millions of years ago and became embedded in stratified rock provide the most accurate links in plant evolution and genetics. Fossils are preserved in many ways such as compressions, impressions, incrustations, casts, petrification, and inclusion in amber, with each method preserving different details of the plant. Paleobotany is important for reconstructing ancient ecosystems, climate, and the development and evolution of plants by studying plant fossils preserved in various forms and using techniques like radiocarbon dating to determine the age of fossils.