Why monks filter water? What about microorganisms?

Here too: Is there such mention in the Sutta about Microbes being predicted by the Buddha? - Discussion - Discuss & Discover (suttacentral.net)

Boil water or filter until no more microbes, for the sake of health. It’s basically wisdom passed down from the time of diseases spread via unclean water.