Which of the following is an example of the endocrine System maintaining homeostasis?

A- detecting a pain stimulus and sending a signal to the signal cord to perform an automatic response.

B-passing information about the body temperature from the hypothalamus to the sweat glands or muscles.

C-producing and excessive amount of hormones in the blood and not sending a signal to stop production.

D- using sense organs to get information about the outside world and direct an appropriate body response.