Pemetrexed is a chemotherapy drug commonly used to treat certain types of cancer, including non-small cell lung cancer and mesothelioma. It functions as an antifolate, interfering with the folate pathway crucial for DNA replication and cell division. This mechanism makes it effective in hindering the proliferation of rapidly dividing cancer cells.