( ( ( ( ( ( The liver ) ( produces ( ( the bile ) ( required ( for ( ( the emulsification ) ( of fat ) ) ) ) ) ) ) , ) and ) ( ( the gallbladder ) ( ( stores ( the bile ) ) ( until ( it ( is needed ) ) ) ) ) ) . )
(ROOT (S (S (NP (DT The) (NN liver)) (VP (VBZ produces) (NP (NP (DT the) (NN bile)) (VP (VBN required) (PP (IN for) (NP (NP (DT the) (NN emulsification)) (PP (IN of) (NP (NN fat))))))))) (, ,) (CC and) (S (NP (DT the) (NN gallbladder)) (VP (VBZ stores) (NP (DT the) (NN bile)) (SBAR (IN until) (S (NP (PRP it)) (VP (VBZ is) (VP (VBN needed))))))) (. .)))
The liver produces the bile required for the emulsification of fat, and the gallbladder stores the bile until it is needed.
(ROOT (S (NP (NP (JJ Bile) (NNS acids)) (, ,) (VP (VBN needed) (PP (TO to) (NP (JJ emulsify) (NNS lipids)))) (, ,)) (VP (VBP are) (VP (VBN stored) (PP (IN in) (NP (NP (DT the) (NN body)) (PP (IN in) (NP (DT the) (NN gallbladder))))))) (. .)))