Primary cancer develops when normal cells undergo mutations in their DNA. These mutations can be caused by a variety of factors, including genetic predisposition, environmental influences, and lifestyle choices. As these mutated cells continue to divide uncontrollably, they form a mass of tissue known as a tumor. If the tumor is malignant, it has the potential to invade surrounding tissues and spread to distant organs.