 T cells are critical to the adaptive immune system, where the body adapts specifically to 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.