A filter is a program or section of code that is designed to examine each input or output request for certain qualifying criteria and then process or forward it accordingly.
Filter that reads data in and manipulates the data to fit another output pattern or removes data that may not be needed.