In general, Pentax lenses are most commonly used with Pentax DSLR cameras, but they may also be compatible with other brands such as Canon, Nikon, and Sony.
This is because many camera manufacturers use similar lens mounts, such as the Pentax K-mount, which is widely used in the industry.