Sulfur is contained in most coal and petroleum. Burning these fossil fuels leads to the production of sulfur oxides. Sulfur oxides and nitrogen oxides contribute to acid rain.