When blood sugar rises in the blood, insulin encourages the body's cells to take up glucose. Cells of the liver and muscles take up and store the excess glucose as glycogen.
If the blood glucose level is too low, the liver releases some of that stored glucose into the blood. This change is brought about by another hormone produced by the pancreas called glucagon.
This is an example of negative feedback.