Animals and plants die in soft soil or mud. Sediment builds up over the remains. The remains decompose, leaving only trace amounts. The remaining parts over the years are replaced with mineral. A fossil is formed. 
Describe the process of fossilization