Which is common to the formation of all fossil fuels?

The common factor in the formation of all fossil fuels is that they are derived from the remains of plants and animals that lived millions of years ago. Fossil fuels, including coal, oil, and natural gas, form when the organic matter is subjected to high heat and pressure over long periods of time, resulting in the transformation of the organic material into hydrocarbon-rich substances.