Carcinogens can affect cells in multiple ways. One of the primary mechanisms is through DNA damage which leads to mutations. This can occur directly, where the carcinogen interacts with DNA, or indirectly, where the carcinogen causes the production of reactive oxygen species (ROS) that damage DNA. These mutations can disable tumor suppressor genes or activate oncogenes, tipping the balance towards uncontrolled cell proliferation.