Forests act as carbon sinks, absorbing CO2 from the atmosphere. When trees are cut down, this process is disrupted, and the stored carbon is released, contributing to the greenhouse effect. This leads to global warming and more extreme weather patterns, which can further degrade environmental quality and increase pollution levels.