Dentin is the mineralized tissue found underneath enamel that surrounds the dental pulp. It is composed mainly of hydroxyapatite crystals (70%) along with collagen (20%) and water (10%). Dentin formation (dentinogenesis) occurs in two stages - first, odontoblast cells secrete an unmineralized dentin matrix called predentin, then mineralization of the matrix occurs from the inside out in either a globular or linear pattern. Odontoblasts undergo differentiation, formation, and quiescence stages as they secrete predentin, retreat into the pulp canal leaving behind dentinal tubules, and reduce activity over time.