How does the body detect a rise in temperature?

Our bodies have nerve cells called thermoreceptors that measure temperature of our internal body and the external environment. When these nerve cells are stimulated by changes inside our bodies and in the world outside, they send their information to the brain, where it is mostly the job of the medulla oblongata to make changes to keep our internal body temperature constant.