( ( An animal ) ( that ( eats ( both ( ( omnivores and ) herbivores ) ) ) ) )
(ROOT (FRAG (NP (NP (DT An) (NN animal)) (SBAR (WHNP (WDT that)) (S (VP (VBZ eats) (NP (CC both) (NNS omnivores) (CC and) (NNS herbivores))))))))
An animal that eats both omnivores and herbivores
(ROOT (S (NP (NNS Herbivores)) (VP (VBZ is) (NP (NP (DT the) (NN term)) (PP (IN for) (NP (NP (NNS animals)) (SBAR (WHNP (WDT that)) (S (VP (VBP eat) (S (NP (NNS producers)) (VP (TO to) (VP (VB get) (NP (NN energy)))))))))))) (. .)))