Genetic testing can identify individuals at higher risk for certain types of cancer. For example, mutations in the BRCA1 and BRCA2 genes can increase the risk of breast and ovarian cancers. Knowing one's genetic risk can guide decisions about preventive measures and screening schedules.