Photosynthesis and carbon balance