Why is photosynthesis considered an endothermic reaction?

Sunlight is absorbed by the green plants during the process so it is an endothermic reaction.
8
1