Answer:
Trees remove carbon dioxide from the atmosphere. Carbon dioxide is a greenhouse gas that causes global warming.
Step-by-step explanation:
Trees take in carbon dioxide and release oxygen. Deforestation gets rid of trees, so carbon dioxide is no longer being absorbed. Since carbon dioxide is a greenhouse gas, meaning that it traps heat in the Earth's atmosphere, too much of it causes global temperatures to rise.