How do animals instinctively respond to pain-inducing stimuli, such as heat or pressure?