which layer of the atmosphere contains a substance that was created from a product of living things and that protects living things