oil usually has mixtures of hydrocarbons like this. Refineries use processes like fractional distillation to separate the components so that they can be used separately, or processes like cracking are used which convert longer chain hydrocarbons into simpler hydrocarbons.