Branch of medicine that studies the anatomical, physiological, and pathological characteristics of the endocrine system and the treatment of diseases of the ductless glands (adrenals, ovaries, pancreas, parathyroids, pituitary, testes, and thyroid). It is a subspecialty of internal medicine.