Primary metabolic events associated with photosynthesis