Operant conditioning

The consequence of chasing a porcupine is a face full of quills, so this coyote may learn to avoid this behavior in the future.

B. F. Skinner has proposed using operant conditioning to shape behaviors by reinforcing such consequences.

Animals can be trained to perform complex tasks by rewarding them with treats through operant conditioning.