Every generation of cancer cells creates a small number of cells that is genetically different from its parents. When a chemotherapeutic drug or the immune system attacks cancer, mutant clones that can resist the attack grow out. The fittest cancer cell survives.