A dermoid cyst is a cystic teratoma that contains developmentally mature skin complete with hair follicles and sweat glands, sometimes luxuriant clumps of longĀ hair, and often pockets of sebum, blood, fat, bone, nails, teeth, eyes, cartilage, and thyroid tissue.