It takes place mostly in the leaves, which contain the green pigment, chlorophyll.PowerPoint Presentation: The chlorophyll traps some of the energy in sunlight, using it to drive a sequence of chemical reactions that results in the production of glucose and water.