Identify the function of each gland listed in the options. For example, the adrenal gland is involved in stress response, the pituitary gland regulates various hormones, the pineal gland controls circadian rhythms, and the thymus is associated with the immune system.