( ( ( Trees and ) ( other ( green plants ) ) ) ( ( ( ( ( ( absorb ( carbon dioxide ) ) and ) ( ( ( ( produce oxygen ) ( through photosynthesis ) ) , ) ( whereas ( animals ( breathe ( in oxygen ) ) ) ) ) ) and ) ( ( breathe out ) ( carbon dioxide ) ) ) . ) )
(ROOT (S (NP (NP (NNP Trees)) (CC and) (NP (JJ other) (JJ green) (NNS plants))) (VP (VP (VB absorb) (NP (NN carbon) (NN dioxide))) (CC and) (VP (VB produce) (NP (NN oxygen)) (PP (IN through) (NP (NN photosynthesis))) (, ,) (SBAR (IN whereas) (S (NP (NNS animals)) (VP (VB breathe) (PP (IN in) (NP (NN oxygen))))))) (CC and) (VP (VB breathe) (PRT (RP out)) (NP (NN carbon) (NN dioxide)))) (. .)))
Trees and other green plants absorb carbon dioxide and produce oxygen through photosynthesis, whereas animals breathe in oxygen and breathe out carbon dioxide.
(ROOT (S (NP (NNP Oxygen)) (VP (VBZ is) (VP (VBN made) (PP (IN by) (NP (NP (NNS trees)) (CC and) (NP (JJ other) (NNS plants)))) (PP (IN during) (NP (NN photosynthesis))))) (. .)))