You are correct! Photosynthesis is indeed an endothermic reaction. It involves the absorption of light energy, which is used to convert carbon dioxide and water into glucose and oxygen. This process requires energy input from sunlight, making it endothermic. Specifically, the overall reaction can be summarized as follows:
\[ 6 , \text{CO}_2 + 6 , \text{H}_2\text{O} + \text{light energy} \rightarrow \text{C}6\text{H}{12}\text{O}_6 + 6 , \text{O}_2 \]
In this equation, glucose (\( \text{C}6\text{H}{12}\text{O}_6 \)) is produced, and oxygen (\( \text{O}_2 \)) is released as a byproduct.