Carbon dioxide is the atmospheric compound that is responsible (after it have dissolved in water) for both the general acidity of normal rainwater and the acidity of much soil. Natural rain water is slightly acidic because carbon dioxide combined with water in the air forms carbonic acid, which is a weak acid.