Genetic testing identifies specific mutations that may increase the risk of certain cancers. For example, BRCA1 and BRCA2 mutations significantly elevate the risk of breast and ovarian cancers. Understanding genetic predispositions can guide screening strategies and preventive measures.