The thymus is where T cells develop from hematopoietic (blood-forming) cells. In addition, this is where the T cells get tolerant to cells of the body.
The thymus is largest and most active during the newborn and pre-adolescent periods. By the early teens, the thymus begins to slow down. However, it continues to make lymphocytes throughout adult life.