Dentin is the mineralized tissue beneath enamel and cementum in teeth. It consists of 70% inorganic hydroxyapatite and 30% organic collagen and proteins. Dentin contains microscopic channels called dentinal tubules that extend from the pulp cavity to the outer surface. The tubules have primary curved shapes near the crown and take on spiral secondary curves in the root. Dentin comes in different types based on its structure, age, and location in the tooth. Primary dentin makes up the bulk of the tooth whereas secondary dentin forms a narrow band near the pulp later in life. Tertiary or reparative dentin can form in response to stimuli like cavity preparation or trauma.