Photosynthesis allows plants to absorb carbon dioxide and produce oxygen, which helps to reduce the amount of carbon dioxide in the environment. Plants can absorb minute pollutants via their leaves and are also responsible for increasing humidity in the environment via water vapour transpiration, which improves air quality.