We are essentially pattern-recognizing machines. Every great musician knows that a great performance involves building up tension to an eventual release. And that's because that taps into our pattern recognition apparatus in the brain. Our brain is trying to figure out what's going to happen next.
Muscles can also receive messages from the brain when the body temperature decreases. They respond by shivering. Shivering causes the muscles to contract and relax quickly. This process generates heat.