Step 1: Identifying the glands.
The diagram shows thymus (B) and adrenal gland (A).
Step 2: Function of adrenal gland (A).
Adrenal gland helps in stress response by secreting adrenaline, not parathormone.
Step 3: Function of thymus (B).
Thymus plays a crucial role in the development and maturation of T-lymphocytes and immune system.