The pituitary, adrenal, and thyroid glands are all part of the endocrine system, which produces and secretes hormones to regulate bodily functions. The lymph system transports fluid, thymus is an immune organ, and endorphins are hormones - not a system.