Thyroid surgery, also known as thyroidectomy, is a surgical procedure to remove all or part of the thyroid gland. This surgery is performed for various medical conditions affecting the thyroid, such as benign nodules, goiter, thyroid cancer, or hyperthyroidism.