A thread-based filter comprising: a thread-based medium comprising multiple threads; and a tube, wherein the tube at least partially houses the thread-based medium with the threads oriented lengthwise along the length of the tube, and wherein the thread-based medium is configured to trap impurities present in a fluid flowing substantially lengthwise along the threads during a filtration mode, and wherein the thread-based medium is configured to release impurities into a fluid flowing substantially lengthwise along the threads during a washing mode.