The ozone layer in the upper atmosphere prevents ultraviolet radiations of the sun from reaching the earth.