Thyroidectomy is primarily performed to treat conditions such as hyperthyroidism, thyroid cancer, and large goiters that cause obstructive symptoms. In the realm of toxicology, exposure to certain toxic substances can lead to thyroid dysfunction, necessitating surgical intervention. For instance, prolonged exposure to iodine or certain industrial chemicals can contribute to thyroid enlargement or dysfunction, leading to the need for a thyroidectomy.