filter

Definition

A device that removes impurities from a liquid or gas, or a process that screens out unwanted elements.

Example

"The coffee machine has a filter that removes grounds from the brew."