For treatment of wastewater, Ozone is considered very deadly to micro organism. Especially, extemely effective at killing bacteria. Where as UV may not be as effective (at complete eradication of bacteria), but will also kill viruses.
I would be careful using Ozone as it does kill everything...