Importance of carbon dioxide gas: Carbon dioxide gas shows greenhouse effect and maintains the atmospheric temperature suitable for life on earth. It keeps the air hot.
Importance of ozone layer: Ozone layer in the atmosphere absorbs the harmful radiations. Ultra-violet radiations, coming from sun prevents the life on earth from their harmful radiations that cause skin cancer, damage the new cells and create chromosomal disorder in the livings.