Genetic testing can identify mutations in genes that may predispose an individual to certain types of cancer or influence the behavior of an existing cancer. This information can be used to tailor treatments, such as targeted therapy, and to identify at-risk family members who may benefit from preventive measures.