The spleen is the largest organ of the lymphatic system. Located in the upper left region of the abdominal cavity, the spleen's primary function is to filter blood of damaged cells, cellular debris, and pathogens such as bacteria and viruses. Like the thymus, the spleen houses and aids in the maturation of immune system cells called lymphocytes.