The primary refinery process that separates crude oil into boiling-range fractions such as gases, naphtha, kerosene, diesel, and residue. It establishes feedstocks and energy demand for much of the downstream refinery.