Explain the process of photosynthesis in detail, including the role of chlorophyll and the importance of sunlight and carbon dioxide