This is achieved through a complex process called Homeostasis and it involves the nervous system of the body.