Both UV-treated water and boiled water are effective methods of disinfection, each with its own set of advantages. Boiling heats water to 100* celsius, which is more than hot enough to kill off any pathogens or bacteria. It can be hard to boil water on a large scale, and boiling only keeps the water sterile for up to 30 minutes after reaching temp.
If you’re looking for a more sustainable, still chemical-free option, UV water’s your best bet. You can achieve high flow rates depending on the system, and it’s recommended to install a UV filter system on your home’s main water supply, ensuring the entire household has access to clean water.