What gas contributes to both global warming and the deterioration of the ozone layer?
Carbon di oxide and methane are the main contributors for global warming due to Green house effect.
Ozone deterioration .Halogeneted ozone depleting gases and chlorofluoro carbons are responsible for damage to ozone ;layer.
The chlorofluorocarbons are the compounds responsible for BOTH ozone depletion and contribution to the greenhouse effect.
Many other gases also contribute to the greenhouse effect, although carbon dioxide and methane are the largest by volume. Nitrogen oxides may also have some impact on stratospheric ozone chemistry, but the chlorofluorocarbons are the primary factors. They also have a much higher greenhouse effect than