The product obtained as a result of a reaction of nitrogen with CaC2 is
CaCN2
When nitrogen is made to react with calcium carbide at 1000ºC - 1100ºC temperature, a mixture of calcium cynamide and black-coloured carbon is produced. This mixture is called nitrolim. It is used as an inorganic nitrogen-containing fertilizer.
N2+CaC2Δ−→Ca[NCN]+C
On hydrolysis, it releases ammonia that could be used by plants (nitrogen fixation via a chemical compound):
CaCN2+3H2O⟶2NH3+CaCO3