Separating crude oil into products such as gasoline, diesel, and heating oil is an energy-intensive process that accounts for about 6% of the world’s CO2 emissions. Most of that energy goes into the heat needed to separate the components by their boiling point.