Fossil fuels are mainly carbon and hydrocarbons, in solid, liquid, or gaseous forms.
Fossil fuels are primarily composed of carbon and hydrocarbons (molecules made of carbon and hydrogen). These hydrocarbons can exist in three states – solid, liquid, or gas – with coal being solid, oil being liquid (petroleum), and natural gas being gaseous.
https://brainly.com/question/13207138