When used as a fertilizer, the cyanamide releases .... CO2.
So the fertilizer provides nitrogen for the soil and CO2 for the plants. Sounds like a win/win.