Endocrine surgery focuses on the endocrine glands, which include the thyroid glands, parathyroid glands, adrenal glands, and pancreas.