Name the gas that naturally occurs in the air and screens out harmful rays from the sun?

Ozone (O3) forms from oxygen (O2) in the upper atmosphere and screens out most of the ultraviolet radiation from the Sun.