( ( The ( nervous system ) ) ( ( ( maintains homeostasis ) ( by ( ( ( controlling and ) regulating ) ( ( the ( other parts ) ) ( of ( the body ) ) ) ) ) ) . ) )
(ROOT (S (NP (DT The) (JJ nervous) (NN system)) (VP (VBZ maintains) (NP (NNS homeostasis)) (PP (IN by) (S (VP (VBG controlling) (CC and) (VBG regulating) (NP (NP (DT the) (JJ other) (NNS parts)) (PP (IN of) (NP (DT the) (NN body)))))))) (. .)))
The nervous system maintains homeostasis by controlling and regulating the other parts of the body.
(ROOT (S (NP (DT The) (JJ nervous) (NN system)) (VP (VBZ plays) (NP (NP (DT a) (JJ critical) (NN role)) (PP (IN in) (NP (NP (DT the) (NN regulation)) (PP (IN of) (NP (NN vascular) (NNS homeostasis))))))) (. .)))