Fossil fuels are hydrocarbons - they're made up of carbon and hydrogen (and very little oxygen). https://en.wikipedia.org/wiki/Hydrocarbon
Carbohydrate is C + H + oxygen, and generally refers to biological molecules derived from glucose. https://en.wikipedia.org/wiki/Carbohydrate