Nitrogen and sulfur oxides react with rainwater to form nitric and sulfuric acids