When water combines with carbon dioxide in the atmosphere, it will form carbonic acid, which is a weak acid. If this weak acid comes in contact with a rock, it will cause some of the rock to be dissolved. This process can also be referred to as weathering.