( ( In photosynthesis ) ( , ( plants ( ( ( use ( light energy ) ) ( to ( ( produce glucose ) ( from ( carbon dioxide ) ) ) ) ) . ) ) ) )
(ROOT (S (PP (IN In) (NP (NN photosynthesis))) (, ,) (NP (NNS plants)) (VP (VBP use) (NP (JJ light) (NN energy)) (S (VP (TO to) (VP (VB produce) (NP (NN glucose)) (PP (IN from) (NP (NN carbon) (NN dioxide))))))) (. .)))
In photosynthesis, plants use light energy to produce glucose from carbon dioxide.
(ROOT (S (NP (NNP Glucose)) (VP (VBZ is) (NP (NP (DT a) (NN carbohydrate)) (SBAR (WHNP (WDT that)) (S (VP (VBZ is) (VP (VBN produced) (PP (IN by) (NP (NN photosynthesis))))))))) (. .)))