Tertiary dentin is a type of dentin that forms in response to stimuli such as dental caries, wear, or trauma. Unlike primary and secondary dentin, which are formed during tooth development and routine wear and tear respectively, tertiary dentin is specifically a reparative or reactive form of dentin. It is produced by odontoblasts or newly differentiated odontoblast-like cells.