Methotrexate is a chemotherapy agent and immune system suppressant. It is used to treat cancer, autoimmune diseases, ectopic pregnancy, and for medical abortions. Chemically, it is an antimetabolite and antifolate drug. Methotrexate inhibits the metabolism of folic acid and is pivotal in the treatment of various cancers and autoimmune diseases.