Hydrocarbons are mainly composed of:
(2)
A hydrocarbon is an organic chemical compound composed exclusively of hydrogen and carbon atoms. For example, the simplest hydrocarbon is methane molecule with the molecular formula CH4