An email filter is a tool that can segregate emails into different categories by creating different folders depending on the criteria specified. For instance, you can create separate email folders for work, personal stuff and so on.
Anti-spam, on the contrary, is a filter that prevents spam from entering an email system. Most email hosting solutions have built-in anti-spam filters.