Understand the role of each gland mentioned in the question. The adrenal gland produces hormones like adrenaline and cortisol, which are involved in stress response and metabolism. The thyroid gland produces hormones like thyroxine (T4) and triiodothyronine (T3), which regulate metabolism. The pineal gland produces melatonin, which regulates sleep-wake cycles. The thymus gland, however, is involved in the immune system.