Distillation separates the by-products of crude oil. This process forms multiple fuels and other useful products, including gasoline and diesel for transportation fuel, kerosene and natural gas for heating and electrical generation, and oil for machinery lubrication.