For example, inherited genetic mutations in the BRCA1 or BRCA2 genes are associated with an increased risk of developing breast and ovarian cancers. In these cases, the mutations are present in every cell of the body and can be passed down from generation to generation. However, even if a person carries an inherited genetic mutation that increases their risk of developing cancer, it does not necessarily mean that they will definitely develop cancer. Other factors, such as lifestyle habits and exposure to environmental toxins, can also play a role.