Global warming is a severe environmental problem which caused by human activities such as damage to the environmental an overuse of resources. In order to control the global warming under 2C, net zero, especially net zero CO2 has been a goal that must be pursued. The net zero is a goal that all the countries can reduce the emission of greenhouse gases to zero. This article uses FaIR climate model to study the effect of different greenhouse gases on temperature anomaly so that to find the main contributor. The effect of net zero CO2 also be estimated. The model concluded that carbon dioxide from burning fossil fuels is the most important contributor to global warming, and zero emissions of CO2 would greatly help mitigate it. In addition, global warming is an inevitable trend, so while reducing CO2 emissions to mitigate the global warming, adaptation to the long-term global warming can also be combined with mitigation.