This is called classical conditioning. In operant conditioning, coined by B.F. Skinner, we learn through reinforcement or punishment. We avoid touching a pot of boiling water, for example ...
Ranchers have found ways to put this form of classical conditioning to good use to protect their herds. In one example, mutton was injected with a drug that produces severe nausea. After eating ...