No, there are other greenhouse gases like methane and water vapor. But CO2 is the most abundant and it’s responsible for the majority of the greenhouse effect.