hydrocarbon: a compound composed only of hydrogen and carbon. The major component of fossil fuels.