It protects us from high-energy ultraviolet radiation