The duodenum is the proximal C-shaped section of the small intestine that curves around the head of the pancreas.