Britannica
Sources used in this answer
Which elements make up hydrocarbon compounds?
Created from Britannica articles
using AI.
AI can make mistakes, so verify using Britannica articles.
hydrocarbon
Structures assumed by hydrogen (H) and carbon (C) molecules in four common hydrocarbon compounds.
Hydrocarbon compounds are composed exclusively of the elements carbon (C) and hydrogen (H).1
In these chemical compounds, carbon atoms link together to create the molecular framework, while hydrogen atoms attach to this structure in various configurations.1