Which of the following steps was necessary for the formation of all fossil fuels?

The remains of plants and animals are buried at the bottom of oceans.

Carbon bonds break, producing methane gas.

Heat and pressure build up on top of decaying matter.

The remains of plants and animals are buried at the bottom of swamps.