Shale oil is an unconventional oil produced from oil shale rock fragments by pyrolysis, hydrogenation, or thermal dissolution. These processes convert the organic matter within the rock (kerogen) into synthetic oil and gas. The resulting oil can be used immediately as a fuel or upgraded to meet refinery feedstock specifications by adding hydrogen and removing impurities such as sulfur and nitrogen.