Cellulose in unbranched beta-D-glucose in beta-1,4-linkages, while glycogen is alpha-1,4-linked D-glucose, which also has alpha-1,6-branches every 8-10 residues. Cellulose therefore forms long straight chains that hydrogen bond together in an insoluble fiber, while glycogen has a helical structure with branches coming off the sides