Photosynthesis converts solar energy into chemical energy through two main stages. In the light reactions, solar energy is absorbed by chloroplasts and used to produce ATP and NADPH. In the Calvin cycle, ATP and NADPH fuel the reduction of carbon dioxide into carbohydrates like glucose. Plants use different pathways like C3, C4, and CAM to optimize photosynthesis under different conditions. Deforestation reduces carbon dioxide absorption from the atmosphere, contributing to global warming.