What Are Hydrocarbons? Carbon and Hydrogen Compounds Explained
By the BrainSnail editorial team. How these articles are written and checked, and how to tell us when one is wrong.
Hydrocarbons are compounds made only from carbon and hydrogen atoms. Their structures can be simple or complex, but the ability of carbon atoms to bond with one another allows hydrocarbons to form chains, branches, and rings with many different properties.
Carbon's four bonds
Carbon can form four covalent bonds, which gives it great flexibility in building molecular structures. A carbon atom can bond to hydrogen and to other carbon atoms, making long chains or closed rings. Even compounds with the same numbers of carbon and hydrogen atoms can have different arrangements, creating isomers with different structures.
When learning about hydrocarbons, a useful first division is between saturated and unsaturated compounds. Alkanes are saturated hydrocarbons because their carbon atoms are connected by single bonds. Alkenes contain at least one carbon-carbon double bond and are unsaturated. That double bond changes how the molecules react, so alkenes often take part in reactions that alkanes do not under the same conditions.
As hydrocarbon molecules get larger, their physical properties change. Small hydrocarbons can be gases at room conditions, while larger ones may be liquids or solids. Boiling points generally rise as molecular size increases because larger molecules experience stronger intermolecular attractions. This helps explain why mixtures such as crude oil can be separated into fractions with different boiling ranges.
Combustion and why structure matters
Another important part of hydrocarbons is combustion. When a hydrocarbon burns completely in plentiful oxygen, its carbon atoms form carbon dioxide and its hydrogen atoms form water. The reaction releases energy, which is why many hydrocarbons are used as fuels. Complete combustion is an idealised case, however, and real flames do not always receive enough oxygen everywhere.
With limited oxygen, incomplete combustion can produce carbon monoxide or solid carbon along with water and other products. Carbon monoxide is toxic because it interferes with oxygen transport in the body. Soot particles can also contribute to air pollution. Burning fossil hydrocarbons releases carbon dioxide that had been stored underground, adding to the amount of this greenhouse gas in the atmosphere.
Hydrocarbons are also starting materials for many useful chemicals and materials. Chemists can break large molecules into smaller ones, add atoms to double bonds, or use small unsaturated molecules to build polymers. The important habit is to connect molecular structure with behaviour. A single bond, double bond, chain length, or branch can change what reactions are likely and what physical properties you observe. Naming hydrocarbons becomes easier when you look for patterns instead of memorising isolated words. The beginning of a name often tells you how many carbon atoms are in the main chain, while the ending can signal the type of carbon-carbon bonding. Structural formulas are especially useful because two molecules can share a molecular formula but connect their atoms differently. Drawing the bonds lets you see branches, double bonds, and likely reaction sites more clearly. This is why structural formulas matter so much in organic chemistry. They show not only which atoms are present, but how the carbon framework is arranged and where reactions are most likely to occur.
The takeaway
Hydrocarbons are compounds containing only carbon and hydrogen. Alkanes have only single carbon-carbon bonds, while alkenes include double bonds and are more reactive in several common reactions. Hydrocarbon size and structure affect boiling point and behaviour, while combustion explains both their usefulness as fuels and some of their environmental consequences.