Plants use carbon dioxide in the process of photosynthesis. If deforestation occurs, the trees that balance the level of carbon dioxide in the atmosphere will be disturbed. As a result, the level of carbon dioxide will increase in the atmosphere. Carbon dioxide traps the heat of the sunlight. So, more the level of carbon dioxide, more heat will be trapped which will result in global warming.