Answer: B. It speeds up your heart rate to help you deal with danger.
Explanation: When you feel you are in danger, your heart rate goes up to get you ready to run, you pump out more adrenaline, and you are more alert. Also, all the other answers are just wrong. In A you would pay more attention, C is the opposite, and in D you would not need to hear when your body is resting.
I hope this helps!