Fossils are the remains or traces of ancient plants and animals preserved in rock. They provide evidence of lifeforms that existed millions of years ago. Fossils form when the hard parts of organisms, such as bones, shells, or bark, become buried and slowly replace with minerals from groundwater. Over millions of years, the remains take on the properties of the surrounding rock. Fossils give insights into early life on Earth and how organisms have evolved over long periods of geological time.