By studying the fossil record we can tell how long life has existed on Earth, and how different plants and animals are related to each other. Often we can work out how and where they lived, and use this information to find out about ancient environments.