Cancer is fundamentally a genetic disease that arises from mutations in the DNA of cells. These mutations can be inherited (germline mutations) or acquired (somatic mutations) during a person's lifetime. Genetic data helps in identifying these mutations, understanding their implications, and developing targeted therapies. For instance, mutations in the BRCA1 and BRCA2 genes are strongly associated with an increased risk of breast and ovarian cancers.