Alkylating agents are cytotoxic, meaning they kill cells by damaging their DNA. The alkyl group attaches to the DNA molecule, causing DNA strands to cross-link and preventing the cancer cells from dividing. This action triggers a process called apoptosis, or programmed cell death.