Photosynthesis is the process by which plants, algae, and some bacteria use sunlight, water and carbon dioxide to produce oxygen and energy in the form of glucose. It occurs in chloroplasts and involves two stages - the light-dependent reactions where ATP and NADPH are produced, and the light-independent Calvin cycle where glucose is formed. Photosynthesis is essential as it feeds the biosphere and converts solar energy into chemical energy that supports life.