Epithelia are often subject to friction and wear due to mechanical aggression. These phenomena are even more common in stratified squamous epithelia due to the locations they occupy in the skin or mucous membranes.
In most epithelia, and especially in stratified squamous epithelia, there is a replacement of lost cells. In stratified squamous epithelia, the cells of the basal layer are less differentiated and divide continuously. The arrows in the image indicate mitotic cells in the basal layer of the epithelium .

Esophagus. HE staining. Large magnification.
The daughter cells resulting from divisions have two fates: a) they remain in place, serving as source cells for new divisions; b) they progressively migrate to the surface, while synthesizing new types of proteins (undergoing a differentiation process) and modifying their shape. After detaching off the surface, their loss is compensated by the production of new cells in the basal layer, a process that keeps the total thickness of the epithelium rather constant.