well, first it's ozone layer not ozeon layer...which is made up 3 Oxygen molecules , O3
that is O2 + O
it prevent the earth from harmful UV rays...by blocking them , UV rays are harmful for living beings as it cause skin and eye problems..
hope it helped