When DNA repair mechanisms fail, cells accumulate genetic mutations. These mutations can disrupt normal cell function, leading to uncontrolled cell division and the formation of tumors. For example, defects in the BRCA1 and BRCA2 genes, which are involved in homologous recombination, significantly increase the risk of breast and ovarian cancer.