UV is next to useless in a freshwater tank. It can help with green water caused by unicellular algae. But when it comes to parasites, while it might catch very few, most will get around it by which I mean they willnot be in water passing through it.
In order for UV to work, all the water in the tank must pass through the light. That in itself is not easy to achieve. The only way to do this is to have tank "A" with water moving out of it through the UV and into tank "B".
But even if it were, somehow possible to get the water through the UV without mixing, things like parasites and algae (normal) attach to objects, they do not remain swimming in the water. So taking ich for example, when the cyst ruptures releasing the hundreds of parasites, many of them will readily find a host fish and attach to it, never going anywhere near the UV. When they drop off the fish, they fall to the substrate or on objects. None of these, or very few, ever pass through the UV.