Acid rain happens because:
burning of fossil fuels release oxides of carbon, nitrogen and sulphur in the atmosphere.
Acid rain is caused by emissions of sulfur dioxide and nitrogen oxide which react with water molecules present in the atmosphere to form acids. This precipitates as acid rain on the surface of the earth.