it is because of the opposing hormones produced by the endocrine system, an example is in the blood sugar level if too much blood sugar is present pancreas releases insulin to lower blood sugar level and if there isn't enough blood sugar glucagon is released to use the stored carbohydrate in the body