Military Origins
"K-9" is a phonetic spelling of "canine" and is used for dogs, especially military and police dogs. The term is believed to have originated in the U.S. military during World War II.
Radio Communication
During radio communication, the phonetic alphabet was used. "Canine" became "Kilo-Nine" or "K-9." The term spread to other contexts and is now widely used for military, police, and service dogs.