Iodine and its compounds play an important role in thyroid hormone production and metabolism. Iodine deficiency can cause hypothyroidism while excess can lead to hyperthyroidism. Sodium iodide is commonly used for iodine supplementation and treatment of thyroid conditions. Radioactive iodine isotopes like 131I are used in diagnosis and treatment of thyroid disorders.