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 involves two stages - the light dependent reactions where sunlight is absorbed and converted to chemical energy. And the light independent reactions where carbon dioxide is fixed into organic compounds like glucose using the energy from the light reactions. Chloroplasts are the organelles where photosynthesis takes place and contain chlorophyll and other pigments that absorb sunlight as well as membranes and proteins that facilitate the light and dark reactions.