As far as I know, UV radiation ionizes oxygen molecules and changes them to ozone molecules.