Mercaptopurine is a medication classified as an antimetabolite. It is used primarily in the treatment of certain types of cancer, particularly acute lymphoblastic leukemia (ALL).