( ( A ( balanced diet ) ) ( ( ( can also ) ( ( play ( a ( crucial role ) ) ) ( in ( ( ( preventing or ) treating ) headaches ) ) ) ) . ) )
(ROOT (S (NP (DT A) (JJ balanced) (NN diet)) (VP (MD can) (ADVP (RB also)) (VP (VB play) (NP (DT a) (JJ crucial) (NN role)) (PP (IN in) (S (VP (VBG preventing) (CC or) (VBG treating) (NP (NNS headaches))))))) (. .)))
A balanced diet can also play a crucial role in preventing or treating headaches.
(ROOT (S (NP (NNP Beneficial) (NNS fungi)) (VP (VBP play) (NP (NP (DT a) (JJ crucial) (NN role)) (PP (IN in) (NP (NP (NN balance)) (PP (IN of) (NP (NNS ecosystems))))))) (. .)))
Beneficial fungi play a crucial role in balance of ecosystems.