Photosynthesis is the process by which plants, algae, and some bacteria use sunlight, water and carbon dioxide to produce oxygen and energy-rich organic molecules like glucose. It occurs in the chloroplasts of plant cells and involves two stages - the light-dependent reactions where solar energy is captured to make ATP and NADPH, and the light-independent Calvin cycle where carbon is incorporated into organic compounds using the ATP and NADPH produced. The products of photosynthesis, such as glucose, are used to synthesize other organic molecules and provide energy to drive cellular processes.