( ( The lungs ) ( ( ( ( ( bring air ) ( ( in and ) out ) ) , ) ( ( ( taking ( in oxygen ) ) and ) ( getting ( rid ( of ( ( ( carbon dioxide ) , ) ( ( a ( waste product ) ) ( of ( the body ) ) ) ) ) ) ) ) ) . ) )
(ROOT (S (NP (DT The) (NNS lungs)) (VP (VBP bring) (NP (NN air)) (ADVP (IN in) (CC and) (IN out)) (, ,) (S (VP (VP (VBG taking) (PP (IN in) (NP (NN oxygen)))) (CC and) (VP (VBG getting) (ADJP (JJ rid) (PP (IN of) (NP (NP (NN carbon) (NN dioxide)) (, ,) (NP (NP (DT a) (NN waste) (NN product)) (PP (IN of) (NP (DT the) (NN body))))))))))) (. .)))
The lungs bring air in and out, taking in oxygen and getting rid of carbon dioxide, a waste product of the body.
(ROOT (S (PP (IN In) (NP (DT the) (NN body))) (, ,) (S (NP (NN oxygen)) (VP (VBZ is) (VP (VBN used) (PP (IN by) (NP (NP (NNS cells)) (PP (IN of) (NP (NP (DT the) (NN body) (POS 's)) (NNS tissues)))))))) (CC and) (S (NP (NN carbon) (NN dioxide)) (VP (VBZ is) (VP (VBN produced) (PP (IN as) (NP (DT a) (NN waste) (NN product)))))) (. .)))