The ozone layer is the layer of the atmosphere that filters the  sun's rays. This layer is located in the upper atmosphere called  the stratosphere.here is no layer in the sun that filters out dangerous rays, but the layer in the earth that filters out said rays is called the ozone layer, also known as the startosphere. … It consists of O3 molecules that break apart under the impact of rays and then re-form to re-create the barrier again.