The thymus!
While it’s most active during childhood and adolescence but it gradually decreases in size and function as an individual ages.
It’s located in the chest and is responsible for the development and maturation of T-cells, a type of white blood cell involved in immune response.