K9 is often used in BDSM as a short-hand way of writing 'canine'.
This usually refers to types of dog play.
It can also refer to sexual activity involving a canine, or dog. In many countries, sex with an animal is illegal.
K9 may also refer to K9 (sex toy), a dildo in the shape of a fox's penis.