Cancer can be caused by mutations in the DNA of cells. These mutations may be inherited, acquired through environmental exposure (such as to tobacco smoke or radiation), or due to errors in DNA replication. When a mutation occurs in a gene that regulates cell growth and division, it can lead to uncontrolled cell proliferation, a hallmark of cancer.