The thymus (pl.: thymuses or thymi) is a specialized primary lymphoid organ of the immune system. Within the thymus , T cells mature. T cells are critical to the adaptive immune system, where the body adapts to specific foreign invaders. The thymus is located in the upper front part of the chest, in the anterior superior mediastinum, behind the sternum, and in front of the heart. It is made up of two lobes, each consisting of a central medulla and an outer cortex, surrounded by a capsule. The ... Learn about the thymus , a primary lymphoid organ that produces T cells for the immune system. Find out its location, structure, blood supply, lymphatics, nerve supply, histology and function. Learn about the thymus gland, a soft organ in your chest that produces T cells and hormones for your immune system. Find out what can go wrong with your thymus and how to recognize the signs of thymus problems.