An organic compound that consists exclusively of the elements carbon and hydrogen. Generally, the term hydrocarbon is used for the chemicals that are derived from natural gas, oil and coal.