In the context of cancer, WES is used to identify somatic mutations that occur in tumor cells. These mutations can provide insights into the molecular mechanisms driving cancer progression and can help in the identification of potential therapeutic targets. Researchers use WES to compare the exomes of cancerous and normal tissues from the same individual to pinpoint mutations that are specific to the tumor.