Cytarabine is most commonly used to treat acute myeloid leukemia (AML), but it is also effective in treating other blood cancers like acute lymphoblastic leukemia (ALL) and certain types of non-Hodgkin lymphoma. It is often a key component in combination chemotherapy regimens, enhancing the efficacy of other cytotoxic agents.