What is the function of ozone in the upper atmosphere?
The function of the ozone (O3) layer in the upper atmosphere is to prevent harmful ultraviolet (UV) rays from reaching the Earth's surface, as these UV rays cause various types of diseases including skin cancer.