Shaking is the body's way of increasing its heat. For example when you are cold you shiver, this shivering is caused by your muscles, when your muscles work they create heat.