Ozone consist of O_3 which have nascent oxygen bonded by the coordination bond , when UV rays fall on them they absorbs its energy and beak down into O_2 and O^(2-) which goes down to ionosphere and again form O_3. This way the light enters earth with reduced energy .