It’s due to stem cells. The genes in dna turn on and off to give a cell a specific job, so stem cells can be “programmed” as any cell the body needs. (Muscle cell, skin cell, etc)
A type of cell division that results in two daughter cells each having the same number and kind of chromosomes as the parent nucleus, typical of ordinary tissue growth.