The ozone layer absorbs most of the Sun’s harmful ultraviolet radiation, preventing it from reaching the Earth’s surface and protecting living organisms from its harmful effects.