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