The heart of gasification-based systems is the gasifier. A gasifier converts hydrocarbon feedstock into gaseous components by applying heat under pressure in the presence of steam.
A gasifier differs from a combustor in that the amount of air or oxygen available inside the gasifier is carefully controlled so that only a relatively small portion of the fuel burns completely. This "partial oxidation" process provides the heat. Rather than burning, most of the carbon-containing feedstock is chemically broken apart by the gasifier's heat and pressure, setting into motion chemical reactions that produce "syngas." Syngas is primarily hydrogen, carbon monoxide and other gaseous constituents, the proportions of which can vary depending upon the conditions in the gasifier and the type of feedstock.
Minerals in the fuel (i.e., the rocks, dirt and other impurities which don't gasify like carbon-based constituents) separate and leave the bottom of the gasifier either as an inert glass-like slag or other marketable solid products. Only a small fraction of the mineral matter is blown out of the gasifier as fly ash and requires removal downstream.
Sulfur impurities in the feedstock are converted to hydrogen sulfide and carbonyl sulfide, from which sulfur can be easily extracted, typically as elemental sulfur or sulfuric acid, both valuable byproducts. Nitrogen oxides, another potential pollutant, are not formed in the oxygen-deficient (reducing) environment of the gasifier; instead, ammonia is created by nitrogen-hydrogen reactions. The ammonia can be easily stripped out of the gas stream.
http://www.fe.doe.gov/programs/powersystems/gasification/howgasificationworks.html