Carbon dioxide is a greenhouse gas. It absorbs a part of sun's radiation which is reflected back from the surface of earth. It prevents the radiation from escaping back and thus, heat from the sun comes to earth but is not allowed to go back due to greenhouse gases. Due to this, the surface of earth gets warmed and this is called greenhouse effect. Excess concentration of carbon dioxide will lead to increased temperature of earth ad this will cause global warming.
On the other hand, ozone layer depletion is caused by ozone depleting substances such as CFCs. Depletion of ozone layer leads to ozone hole due to which more UV radiations are able to reach the earth.
Hence, the statement given in the question is not correct.
So, the correct answer is 'False'.