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 thymus is made up of immature T cells called thymocytes, as well as lining cells called epithelial cells which help the thymocytes develop. T cells that successfully develop react appropriately with MHC immune receptors of the body (called positive selection) and not against proteins of the body (called negative selection). The thymus is the largest and most active during the neonatal and pre-adolescent periods. By the early teens, the thymus begins to decrease in size and activity and the tissue of the thymus is gradually replaced by fatty tissue. Nevertheless, some T cell development continues throughout adult life.