Glycogen is stored as granules in the cytoplasm of liver and muscle cells. In the liver, glycogen serves as a glucose reserve to maintain blood sugar levels, while in muscles, it provides a quick source of energy during physical activity. When the body requires energy, glycogenolysis breaks down glycogen into glucose-1-phosphate, which is then converted into glucose-6-phosphate and enters the glycolytic pathway to produce ATP.