Glycogen is a polysaccharide made of glucose subunits linked together that functions to store glucose in the liver and muscle cells. It maintains homeostasis by releasing glucose into the bloodstream when energy demands increase and converting excess blood glucose back to glycogen for later use. Glycogen contains carbonyl and hydroxyl groups that allow it to dissolve in water and provide energy through hydrolysis.