Decitabine is a hypomethylating agent used primarily in the treatment of myelodysplastic syndromes (MDS) and certain types of leukemia. It works by incorporating into DNA and inhibiting DNA methyltransferase, leading to hypomethylation of DNA and reactivation of silenced genes that can induce cell differentiation and apoptosis.