Hydrocarbons are organic chemical compounds which contain only hydrogen and carbon.