In photosynthesis, the ATP and NADPH used to fix carbon are…