How can you say that deforestation cause droughts?

Deforestation is the clearing of forests due to which no trees are left. As we know trees utilises CO₂ during the process of photosynthesis so a balance remains between O₂ and CO₂ level and temperature of also earth remains regulated. But as no trees left due to deforestation there is no consumption of CO₂ and it keeps on increasing in environment. Increased level of CO₂ traps the heat rays and due to this temperature of earth keeps on increasing. Due to this increment in temperature water cycle gets affected and no rain takes place and as a result drought occurs.