Thymus secretes hormone called thymosin and it stimulates the development of disease fighting T cells which help to keep us healthy by attacking virus-infected or cancerous cells. The thymus serves a vital role in the training and development of T-lymphocytes or T cells. T cells defend the body from deadly pathogens such as bacteria, viruses, and fungi.