Improvements to the quality of underground water by introducing carbon dioxide