Your endocrine system is complex and contains the glands in your body that produce hormones. This system includes the adrenal glands, thyroid, pituitary, pancreas, ovaries (in females), and testes (in males).