What is the purpose of calcium cyanide?

Add an acid and it will release cyanide gas.