How Gasification Works | HowStuffWorks
During a process known as gas cleanup, the raw syngas runs through a cooling chamber that can be used to separate the various components. Cleaning can remove harmful impurities, including sulfur, mercury and unconverted carbon. Even carbon dioxide can be pulled out of the gas and either stored underground or used in ammonia or methanol production.