An adrenalectomy (uh-dree-nul-EK-tuh-me) is surgery to remove one or both adrenal glands. One adrenal gland sits above each of your kidneys. Your two adrenal glands produce various hormones that help regulate your metabolism, immune system, blood pressure, blood sugar and other essential functions