( ( Just ( as ( food ( ( leaves ( the stomach ) ) ( into ( the ( small intestine ) ) ) ) ) ) ) ( , ( there ( ( is ( ( an organ ) ( that ( is ( attached ( to ( and ( parallel ( to ( ( the ( main ( digestive tract ) ) ) ( called ( the pancreas ) ) ) ) ) ) ) ) ) ) ) ) . ) ) ) )
(ROOT (S (SBAR (RB Just) (IN as) (S (NP (NN food)) (VP (VBZ leaves) (NP (DT the) (NN stomach)) (PP (IN into) (NP (DT the) (JJ small) (NN intestine)))))) (, ,) (NP (EX there)) (VP (VBZ is) (NP (NP (DT an) (NN organ)) (SBAR (WHNP (WDT that)) (S (VP (VBZ is) (VP (VBN attached) (S (VP (TO to) (VP (CC and) (NP (NN parallel)) (PP (TO to) (NP (NP (DT the) (JJ main) (NN digestive) (NN tract)) (VP (VBN called) (NP (DT the) (NN pancreas)))))))))))))) (. .)))
Just as food leaves the stomach into the small intestine, there is an organ that is attached to and parallel to the main digestive tract called the pancreas.
(ROOT (S (PP (IN In) (NP (DT the) (NN body))) (, ,) (NP (NN chemical) (NN digestion)) (ADVP (RB mainly)) (VP (VBZ takes) (NP (NP (NN place)) (PP (IN in) (NP (DT the) (JJ small) (NN intestine))))) (. .)))
In the body, chemical digestion mainly takes place in the small intestine.