Another harmful gas from the use of fossil fuels is sulfur dioxide, a key ingredient in the formation of acid rain. Sulfur dioxide, however, is a double-edged sword. While it contributes greatly to acid rain, its presence in the atmosphere helps cool the air to counteract the heating caused by carbon dioxide.