The sun is where it all starts, the sun sends out photons which when they get to earth get absorbed by the chlorophyll in plants. The roots also bring water from the ground to help in the process. Then it all goes to the Thylakoid membrane and starts phase one which are the light dependent reactions.
Then the photon enters photosystem II and excites an electron from a water molecule that was split. Then the molecule travels through the electron carriers into photosystem I and is re energized from the loss of energy and then NADPH is formed. Then it is transported through more electron carriers and helps create NADP++H+. Then as protons travel across the thylakoid membrane it converts ADP to ATP.
Now phase two begins which is The Calvin cycle. In the Calvin cycle the light independent reactions occur. In the beginning of the Calvin cycle reactions occur in the stroma of the chloroplast. Energy from ATP and electrons from NADPH are used to convert carbon dioxide into glucose and other products.
And that's how works! Thanks for reading!