Functions of thymus are as follows
(i) It secretes thymosin, a peptide hormone that play an important role in differentiation of T-lymphocytes.
(ii) Release of thymosin provides cell-mediated immunity.
(iii) It is also responsible for creating antibodies for the immune system during childhood.
(iv) It gets degenerated with age due to which production of thymosin gets decreased