UV doesn't always kill ich, for example, but might help reduce the numbers. UV works by irradiating the water with a strong light source.
Ozone is O3, a highly oxidizing, unstable gas that is injected into the water. It can kill some organisms, but is likely less effective at that than UV. Ozone will break down some organic compounds, though.