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 ...