The primary function of glycogen granules is to store glucose. This stored glucose can be rapidly mobilized to meet the energy demands of the cell. In the liver, glycogen is broken down into glucose and released into the bloodstream to maintain blood sugar levels. In muscle cells, glycogen provides a quick source of glucose for ATP production during muscle activity.