Mangiferin is a new potential antimalarial and anticancer drug for targeting serine hydroxymethyltransferase.