Genetics plays a crucial role in carcinogenesis. Specific genes, known as oncogenes and tumor suppressor genes, regulate cell growth and division. Mutations in these genes can lead to uncontrolled cell proliferation. Additionally, inherited genetic mutations can increase an individual's susceptibility to cancer. For example, mutations in the BRCA1 and BRCA2 genes are linked to a higher risk of breast and ovarian cancers.