Ivosidenib is a medication used to treat certain types of cancer like acute myeloid leukemia (AML), cholangiocarcinoma, and myelodysplastic syndromes (MDS). It works by targeting specific mutations in cancer cells, slowing their growth, and promoting the development of healthier cells.