( Photosynthesis ( ( is ( ( used ( by ( ( plants and ) ( ( some types ) ( of bacteria ) ) ) ) ) ( to ( produce ( ( glucose , ) ( ( a type ) ( of sugar ) ) ) ) ) ) ) . ) )
(ROOT (S (NP (NNS Photosynthesis)) (VP (VBZ is) (VP (VBN used) (PP (IN by) (NP (NP (NNS plants)) (CC and) (NP (NP (DT some) (NNS types)) (PP (IN of) (NP (NNS bacteria)))))) (S (VP (TO to) (VP (VB produce) (NP (NP (NN glucose)) (, ,) (NP (NP (DT a) (NN type)) (PP (IN of) (NP (NN sugar)))))))))) (. .)))
Photosynthesis is used by plants and some types of bacteria to produce glucose, a type of sugar.
(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))))))))) (. .)))