 In plants , ATP is synthesized in thylakoid membrane of the chloroplast during the light @-@ dependent reactions of photosynthesis in a process called photophosphorylation . Here , light energy is used to pump protons across the chloroplast membrane . This produces a proton @-@ motive force and this drives the ATP synthase , exactly as in oxidative phosphorylation . Some of the ATP produced in the chloroplasts is consumed in the Calvin cycle , which produces triose sugars . 
