( ( ( The function ) ( of ( the spleen ) ) ) ( ( is ( to ( ( ( act ( as ( a filter ) ) ) , ) ( ( ( cleansing ( ( the blood ) ( of ( ( older or ) ( damaged ( red ( and ( white ( blood cells ) ) ) ) ) ) ) ) ) along ) ( with platelets ) ) ) ) ) . ) )
(ROOT (S (NP (NP (DT The) (NN function)) (PP (IN of) (NP (DT the) (NN spleen)))) (VP (VBZ is) (S (VP (TO to) (VP (VB act) (PP (IN as) (NP (DT a) (NN filter))) (, ,) (S (VP (VBG cleansing) (NP (NP (DT the) (NN blood)) (PP (IN of) (NP (NP (JJR older)) (CC or) (NP (JJ damaged) (NN red) (CC and) (JJ white) (NN blood) (NNS cells))))) (PRT (RP along)) (PP (IN with) (NP (NNS platelets))))))))) (. .)))
The function of the spleen is to act as a filter, cleansing the blood of older or damaged red and white blood cells along with platelets.
(ROOT (S (NP (NP (DT The) (JJ main) (NN function)) (PP (IN of) (NP (DT the) (NN spleen)))) (VP (VBZ is) (S (VP (TO to) (VP (VP (VB filter) (NP (DT the) (NN blood))) (CC and) (VP (VB remove) (NP (JJ unwanted) (JJ red) (NN blood) (NNS cells))))))) (. .)))
The main function of the spleen is to filter the blood and remove unwanted red blood cells.