It turns out that ultraviolet light gets used as a disinfectant in a number of different products. For example, you can buy swimming pool systems that disinfect the water in the pool by running it past a strong UV light. Some municipalities do the same thing to augment the chlorine that treats drinking water. You can even buy a device that uses UV light to disinfect your toothbrush!
In third-world countries, there have been experiments using clear plastic soda bottles filled with contaminated drinking water. People leave the bottles in the sun, and it actually helps to reduce bacteria in the water. See, for example, Sun and water: an overview of solar water treatment devices.
These links will help you learn more:
