The pancreas is a dual-function gland that secretes hormones like insulin and glucagon into the bloodstream (endocrine function) and digestive enzymes like amylase, lipase, and proteases into the small intestine (exocrine function). The adrenal gland secretes only hormones, the pituitary gland secretes only hormones, and the thyroid gland secretes only hormones.