Treating is a means by which contaminants such as organic compounds containing sulfur, nitrogen, and oxygen; dissolved metals and inorganic salts; and soluble salts dissolved in emulsified water are removed from petroleum fractions or streams. Petroleum refiners have a choice of several different treating processes, but the primary purpose of the majority of them is the elimination of unwanted sulfur compounds. A variety of intermediate and finished products, including middle distillates, gasoline, kerosene, jet fuel, and sour gases are dried and sweetened. Sweetening, a major refinery treatment of gasoline, treats sulfur compounds (hydrogen sulfide, thiophene and mercaptan) to improve color, odor, and oxidation stability. Sweetening also reduces concentrations of carbon dioxide.
Treating can be accomplished at an intermediate stage in the refining process, or just before sending the finished product to storage. Choices of a treating method depend on the nature of the petroleum fractions, amount and type of impurities in the fractions to be treated, the extent to which the process removes the impurities, and end-product specifications. Treating materials include acids, solvents, alkalis, oxidizing, and adsorption agents.