Any organic compound in which the main structure is a chain of carbon atoms joined to each other.
Chemically, hydrocarbons are divided into two classes: aromatic and aliphatic. Aliphatics can be cyclic or open-chain, saturated (paraffin) or unsaturated (olefins), straight chain or branched.