How fossils formed ?
When a plant or an animal dies, its remains fall on the ground. Over a period of time, its bodies get covered by sediments brought by rivers, winds, etc. These sediments keep on getting accumulated for over hundreds of years and when that land gets eroded, the fossils can be seen clearly. Thus, the process of accumulation of dead remains of plants and animals for over hundreds of years results in the formation of fossils.