No it is the Ozone layer that protect us from UV Rays
UV radiation is harmful in large amounts and can cause sunburn, skin cancer and eye problems. The ozone layer is a section of the Earth's atmosphere that acts as a barrier between the Earth and UV radiation. The ozone layer protects the Earth from too much radiation by both absorbing and reflecting harmful UV rays