An aggregation of cells specialized to secrete or excrete materials not related to their ordinary metabolic needs. Glands are divided into two main groups, endocrine and exocrine. The endocrine glands, or ductless glands, discharge their secretions (hormones) directly into the blood; they include the adrenal, pituitary, thyroid, and parathyroid glands, the islands of Langerhans in the pancreas, the gonads, the thymus, and the pineal body. The exocrine glands discharge through ducts opening on an external or internal surface of the body; they include the salivary, sebaceous, and sweat glands, the liver, the gastric glands, the pancreas, the intestinal, mammary, and lacrimal glands, and the prostate. The lymph nodes are sometimes called lymph glands but are not glands in the usual sense.