Final answer:
Glycogen is formed in the liver during the absorptive state, when the body digests food and absorbs nutrients, converting excess glucose into glycogen for later use.
Step-by-step explanation:
Glycogen is formed in the liver during the absorptive state, which is also called the fed state. During this state, the body is actively digesting food and absorbing nutrients. After a meal, glucose levels in the blood rise, prompting the pancreas to release insulin. This hormone stimulates liver cells to convert excess glucose into glycogen for storage. The process involves glucose being phosphorylated to glucose-6-phosphate before being converted into glycogen.