Antifolate drugs work by targeting and inhibiting key enzymes such as dihydrofolate reductase (DHFR) and thymidylate synthase. These enzymes play crucial roles in converting folate into its active forms, which are necessary for the synthesis of nucleic acids. By inhibiting these enzymes, antifolate drugs effectively reduce the production of DNA and RNA, thereby hindering cell division and growth.