Plants use dissolved carbon dioxide (a weak acid) during photosynthesis. This can make the pH increase during the day and decrease at night.