Yes, CO2 is what causes global warming, but other pollutants can cause acid rain and lung cancer among many other effects.