The chemicals that contribute to the formation of acid rain are sulfur dioxide and nitrogen oxides. When these gases are released into the atmosphere, they can react with water, oxygen, and other substances to form sulfuric and nitric acids, which then can fall as acid rain. Therefore, the correct answer is:
Sulfur dioxide and nitrogen oxide.