Cancer typically arises from a series of genetic changes that accumulate over time. These changes can affect oncogenes, tumor suppressor genes, and other types of genes involved in cell division, DNA repair, and cell death. For example, a mutation in a DNA repair gene can allow other mutations to accumulate, leading to cancer. Environmental factors like radiation, tobacco smoke, and certain chemicals can also cause mutations that lead to cancer.