Fossils are evidence of plants and animals that lived long ago preserved in rocks.
The layer of rock in which a particular fossil is found tells you something about the age of the fossil and about the animal or plant itself, the climate, and the environment in which the plant or animal lived.