Acid rain occurs when rainwater is contaminated with pollutants like nitrogen oxide and sulphur dioxide.