Refining is the process of separating crude oil into different hydrocarbon groups through distillation.