Because crude oil is made up of a mixture of hydrocarbons, this first and basic refining process is aimed at separating the crude oil into its "fractions," the broad categories of its component hydrocarbons. Crude oil is heated and put into a still -- a distillation column -- and different products boil off and can be recovered at different temperatures. The lighter products -- liquid petroleum gases (LPG), naphtha, and so-called "straight run" gasoline -- are recovered at the lowest temperatures. Middle distillates -- jet fuel, kerosene, distillates (such as home heating oil and diesel fuel) -- come next. Finally, the heaviest products (residuum or residual fuel oil) are recovered, sometimes at temperatures over 1000 degrees F. The simplest refineries stop at this point. Most in the United States, however, reprocess the heavier fractions into lighter products to maximize the output of the most desirable products
Additional processing follows crude distillation, "downstream" (or closer to the refinery gate and the consumer) of the distillation process. Downstream processing is grouped together in this discussion, but encompasses a variety of highly complex units designed for very different upgrading processes. Some change the molecular structure of the input with chemical reactions, some in the presence of a catalyst, some with thermal reactions.
In general, these processes are designed to take heavy, low-valued feedstock -- often itself the output from an earlier process -- and change it into lighter, higher-valued output. A catalytic cracker, for instance, uses the gasoil (heavy distillate) output from crude distillation as its feedstock and produces additional finished distillates (heating oil and diesel) and gasoline. Sulfur removal is accomplished in a hydrotreater. A reforming unit produces higher octane components for gasoline from lower octane feedstock that was recovered in the distillation process. A coker uses the heaviest output of distillation, the residue or residuum, to produce a lighter feedstock for further processing, as well as petroleum coke.