Purge means to clean, clear, or remove impurities or unwanted elements. "Cleanse" is a direct synonym, as both terms refer to the act of making something pure or free from contamination. This is commonly used in contexts like purging corrupt data or cleansing a system.