Genetic predisposition plays a significant role in cancer risk. Certain inherited mutations, such as those in the BRCA1 and BRCA2 genes, can greatly increase the likelihood of developing cancers like breast and ovarian cancer. Genetic testing can help identify individuals at higher risk, allowing for early interventions.