Many fuels are made of compounds called hydrocarbons. A hydrocarbon is a compound that contains carbon and hydrogen atoms only. No other element is present.
Methane, CH4, is a hydrocarbon. So is propane, C3H8, where one molecule has three carbon atoms and eight hydrogen atoms. Ethane, C2H6, is another example.
A compound is not a hydrocarbon if it contains any other element. Ethanol, C2H5OH, contains oxygen, and carbon dioxide, CO2, also contains oxygen, so neither of them is a hydrocarbon.