Acid gas and sulfur recovery VOC waste gas treatment