What elements must be contained in fossil fuels?

Fossil fuels commonly include coal and hydrocarbons. Hydrocarbons contain carbon and hydrogen. The primary element in coal is carbon, with hydrogen and oxygen being secondary elements.