Genetic testing can identify mutations that increase the risk of certain cancers. This information can be used for early detection and preventive strategies. For example, women with BRCA1 or BRCA2 gene mutations have a higher risk of breast and ovarian cancer and may opt for more frequent screenings or preventive surgeries.