Are cyanide and nitriles same?

Cyanide and nitriles can be grouped together. A nitrile is an organic compound that contains a cyanide (CN) group.

However, other substances often called cyanide are not nitriles, including hydrogen cyanide, sodium cyanide, and potassium cyanide.