Antifolates are a class of compounds that inhibit the action of folic acid in the body. Folate, or vitamin B9, is essential for the synthesis of nucleic acids and the metabolism of amino acids. Antifolates disrupt these processes by targeting enzymes involved in folate metabolism, thereby exerting cytotoxic effects, particularly on rapidly dividing cells.