This is the simplest form of filtration. If you place a cloth to your face to avoid breathing dust, you’ve made a particulate filter. In gas masks that are used in biological warfare. The spaces in the mask can be extremely small.
The average bacteria is about 2 microns in size, most professional gas masks have filters which are 0.3 microns. However over time this gets clogged, meaning you need to replace it.