A malignancy that originates from the thyroid tissue. The majority are well-differentiated (papillary or follicular) carcinomas and have a much better prognosis than poorly differentiated (medullary or anaplastic) carcinomas.