Sulfur dioxide and nitrogen oxides also affect the health of wildlife, soils, water, trees, crops, and buildings, which are damaged by the acid rain formed by sulfur dioxide and nitrogen oxides.