what gland is most active during the early years of life and plays a critical role in the development of a child's immune system?