Genetic testing can identify individuals at high risk for certain cancers due to inherited genetic mutations. For instance, BRCA1 and BRCA2 mutations significantly increase the risk of breast and ovarian cancers. Knowing one's genetic predisposition can lead to personalized surveillance and preventive measures.