What makes a hydrocarbon?

chemical containing hydrogen and carbon: an organic chemical compound containing only hydrogen and carbon atoms arranged in rows, rings, or both, and connected by single, double, or triple bonds.

Hydrocarbons constitute a very large group including alkanes, alkenes, and alkynes