Global warming is caused by gases like carbon dioxide and carbon monoxide accumulating in the atmosphere and trapping heat like greenhouse gases. The ozone layer protects life on Earth by absorbing 97-99% of the sun's high frequency light that can be damaging. Certain gases threaten these environmental processes.