hydrocarbons
Oil comes out of the ground as crude oil. Crude oil is a mixture of many different hydrocarbons. Oil is separated into different compounds at an oil refinery Figure above . This is done by heating the oil. Each hydrocarbon compound in crude oil boils at a different temperature. We get gasoline, diesel, and heating oil, plus waxes, plastics, and fertilizers from crude oil.