Tertiary dentin (including reparative dentin or sclerotic dentin) – pathologic
Tertiary dentin is dentin formed as a reaction to external stimulation such as cavities and wear. It is of two types, either reactionary, where dentin is formed from a pre-existing odontoblast, or reparative, where newly differentiated odontoblast-like cells are formed due to the death of the original odontoblasts, from a pulpal progenitor cell. Tertiary dentin is only formed by an odontoblast directly affected by a stimulus; therefore, the architecture and structure depend on the intensity and duration of the stimulus, e.g., if the stimulus is a carious lesion, there is extensive destruction of dentin and damage to the pulp, due to the differentiation of bacterial metabolites and toxins. Thus, tertiary dentin is deposited rapidly, with a sparse and irregular tubular pattern and some cellular inclusions; in this case, it is referred to as "osteodentin". Osteodentin is seen in Vit.A deficiency during development. However, if the stimulus is less active, it is laid down less rapidly with a more regular tubular pattern and hardly any cellular inclusions. The speed at which tertiary dentin forms also varies substantially among primate species. Animal dentin
Elephant ivory is solid dentin. The structure of the dentinal tubules contributes to both its porosity  and its elasticity. Elephant tusks are formed with a thin cap of enamel, which soon wears away, leaving the dentin exposed. Exposed dentin in humans causes the symptom of sensitive teeth.
Secondary dentin
Secondary dentin (adventitious dentin) is formed after root formation is complete, normally after the tooth has erupted and is functional. It grows much more slowly than primary dentin but maintains its incremental aspect of growth. It has a similar structure to primary dentin, although its deposition is not always even around the pulp chamber. It appears greater in amounts on the roof and floor of the coronal pulp chamber, where it protects the pulp from exposure in older teeth. The secondary dentin formed is not in response to any external stimuli, and it appears very much similar to the primary dentine. It is the growth of this dentin that causes a decrease in the size of the pulp chamber with age. This is clinically known as pulp recession; cavity preparation in young patients, therefore, carries a greater risk of exposing the pulp. If this occurs, the pulp can be treated by different therapies such as direct pulp capping. Previously it was thought that Pulp capping was most successful if followed by a stainless steel crown, however this procedure is most of the times unnecessary in children. it requires the unnecessary removal of enamel which is key to the life of the tooth. Adhesive dentistry allows for conservative restoration techniques that minimize the loss of tooth structure and should be used. In order to maintain space in the primary dentition, attempts are made not to extract a pulpal exposure.