Acid rain is caused by sulfur dioxide (SO₂) and nitrogen oxides (NOₓ).