Ozone formation is possible in the upper layers of atmosphere because of the:
(2)
The high energy of UV rays help in the formation of ozone from oxygen.