DNMTi work by inhibiting the function of DNA methyltransferases, which leads to the demethylation of DNA. This demethylation can reactivate tumor suppressor genes that were silenced by hypermethylation, thereby inhibiting cancer cell growth and inducing apoptosis. Common DNMTi include azacitidine and decitabine.