A cyanide is any chemical compound that contains monovalent combining group CN .
Organic compounds that contain the CN group are called nitriles .