( Ants ( ( ( ( defend themselves ) ( from predators ) ) ( by ( ( biting and ) ( stinging ( by ( ( ( ( injecting or ) spraying ) ( chemical substances ) ) ( like ( formic acid ) ) ) ) ) ) ) ) . ) )
(ROOT (S (NP (NNS Ants)) (VP (VBP defend) (NP (PRP themselves)) (PP (IN from) (NP (NNS predators))) (PP (IN by) (S (VP (VP (VBG biting)) (CC and) (VP (VBG stinging) (PP (IN by) (S (VP (VBG injecting) (CC or) (VBG spraying) (NP (NN chemical) (NNS substances)) (PP (IN like) (NP (JJ formic) (NN acid))))))))))) (. .)))
Ants defend themselves from predators by biting and stinging by injecting or spraying chemical substances like formic acid.
(ROOT (S (NP (JJ Formic) (NN acid)) (VP (VBZ is) (VP (VBN found) (PP (IN in) (NP (NP (DT the) (NNS secretions)) (PP (IN of) (NP (JJ stinging) (NNS ants))))))) (. .)))