step: being buried under soil and mud changes dead vegetation / dead plant matter into peat through extreme heat and pressure in a swamp over a long period of time & being buried under soil and mud changes peat into coal through extreme heat and pressure in a swamp over a long period of time
inference: being buried under soil and mud changes dead vegetation into coal through extreme heat and pressure in a swamp over a long period of time