Photosynthesis occurs in the chloroplasts of plant cells, primarily involving two main stages: the light-dependent reactions and the Calvin cycle. During the light-dependent reactions, chlorophyll absorbs light energy, which is then used to split water molecules into oxygen, protons, and electrons. The electrons move through the electron transport chain, generating ATP and NADPH. These energy carriers are subsequently used in the Calvin cycle to convert carbon dioxide into glucose.