Sulfur trioxide (alternative spelling sulphur trioxide) is the chemical compound with the formula SO3. In the gaseous form, this species is a significant pollutant, being the primary agent in acid rain. It is prepared on an industrial scale as a precursor to sulfuric acid.