Photosynthesis is a process used by autotrophic organisms like plants, some bacteria, and protists to convert light energy into chemical energy, producing glucose and oxygen from carbon dioxide and water. This process occurs in chloroplasts, where the light-dependent reactions generate ATP and NADPH, and the Calvin cycle synthesizes glucose. Photosynthesis primarily takes place in the leaves, where chlorophyll absorbs sunlight and facilitates these reactions.