Acid rain forms when sulphur dioxide and nitrogen oxides (including nitrous oxide) react with water vapor in the atmosphere to form sulphuric and nitric acids. These pollutants primarily come from burning fossil fuels in power plants and vehicles. Carbon dioxide, carbon monoxide, and ozone do not directly cause acid rain formation.