The correct answer is Carbonization.
There are many types by which the formation of fossils can takes place. Out of this one is carbonization in which a fossil is formed by the compression of dead organisms over time. The time and pressure takes off the liquids and gases from the organisms and only the carbon in the organism is left behind.
This is called as carbonization.