For a filter to work a few things need to be accomplished...
Mechanical- Some sort of element to trap sized debris (excess food, etc)
Biological- Something in which water flows on, over or through in which is an ideal place for bacteria to grow and do what the bacteria do...(bioballs, sponges...