The simple answer is life. Virtually any chemical in the right concentration and environment can be harmful. Some are, of course, more dangerous than others, cigarette smoke for example.
Dietary cancer causing chemicals (carcinogens) such as polycyclic aromatic hydrocarbons and aromatic amines, found in superheated processed or fried foods, are converted to products, can directly or indirectly oxidize water or oxygen into short lived but highly energetic free radicals. These cause double or single DNA strand breaks allowing cancer promoting genes to escape from the influence of their suppressor gene guardians forming the first cells in the cancer process.
Viruses can also infect cells and damage the DNA – the most well known of these being the papilloma (wart) virus and cervical cancer or a virus found in Africa called the Ebstein-barr virus causing a cancer of the lymph nodes (Burkitt’s Lymphoma).
Radiation and sunlight can also directly damage DNA. In fact, a few hours in the sun can result in hundreds of potential skin cancers. Of course only a few of us will eventually develop skin cancer and most of us will fortunately not develop other cancers despite high intakes of carcinogen which are generally unavoidable in modern society. Clearly with so many potential cancer cells forming every day there are other defenses, otherwise the human race would not exist. This leads on to the other important element in the cancer process.