BF Skinner and Pavlov pioneered operant conditioning. And animal trainers have used this learning to condition behaviors in dogs, cats, lions, tigers, orcas, dolphins, birds, etc.
(For explanations a layman can understand, I recommend Karen Pryor’s “Don’t Shoot the Dog”.)
Still, here’s a fun article that explains, in detail, how to train a lion.