A compound containing only hydrogen and carbon. They form the principal constituents of petroleum. The simplest hydrocarbons are gases at ordinary temperatures; but, with increasing molecular
weight, they change to the liquid form and finally the solid state. Their boiling and melting points are, in general, proportional to their molecular weight.

