Carrier testing can identify mutations in genes that significantly increase the risk of developing cancer. For example, mutations in the BRCA1 and BRCA2 genes are linked to a higher risk of breast and ovarian cancers. Knowing one's carrier status helps in making informed decisions about preventive measures and early detection strategies.