Acid rain is not only generated by the presence of sulfur oxides, but it mainly occurs whenever gases like sulfur dioxide (SO2) and nitrogen oxides (NOx) combine in the atmosphere with water, oxygen, and other chemicals and return to Earth in the form of rain or in a dry acidic form.