Photosynthesis is a remarkable process that allows plants to create their own food using sunlight, water, and carbon dioxide. Here's how it works in simple steps:

1. **Capture of Sunlight**: Plants have a pigment called chlorophyll in their leaves, which absorbs sunlight, especially blue and red wavelengths. This absorption kickstarts the energy conversion process.

2. **Conversion of Water**: Water absorbed by the roots is split into oxygen (released as a byproduct) and hydrogen ions, with the energy from sunlight creating ATP and NADPH, which are energy carriers.

3. **Carbon Dioxide Fixation**: Carbon dioxide from the air is taken in and, through a series of reactions in the Calvin cycle, is converted into glucose (sugar). This involves the use of ATP and NADPH to fix CO2 into organic molecules.

4. **Production of Glucose**: The plant produces glucose, which serves as its energy source for growth and other activities. Oxygen, a waste product, is released into the atmosphere.

In essence, plants act like tiny factories, converting sunlight, water, and CO2 into glucose and oxygen. This process is crucial for their growth and sustains life on Earth by providing oxygen and forming the base of the food chain.