Gemcitabine is also used to treat pancreatic cancer that has spread to other parts of the body and has not improved or worsened after treatment with another medication. Gemcitabine is in a class of medications called antimetabolites. It works by slowing or stopping the growth of cancer cells in your body.