Cracking of petroleum yields light oils (corresponding to gasoline), middle-range oils used in diesel fuel, residual heavy oils, a solid carbonaceous product known as coke, and such gases as methane, ethane, ethylene, propane, propylene, and butylene.