Because the reaction is endothermic, an energy input (sunlight) is needed for photosynthesis to occur.
(the reaction; is; endothermic) (an energy input; is needed; for photosynthesis to occur) (photosynthesis; to occur; )
the reaction an energy input photosynthesis
is is needed to occur
endothermic
for photosynthesis to occur