The embryonic divisions of the gut are the foregut (esophagus, stomach, liver, gallbladder, pancreas, proximal duodenum), midgut (duodenum, small intestine, cecum, appendix, ascending colon, transverse colon), and hindgut (transverse colon, descending colon, sigmoid colon, rectum). The celiac trunk supplies foregut, containing the distal esophagus, stomach, spleen, liver, gallbladder, pancreas, and proximal duodenum.
The superior mesenteric artery supplies the midgut, containing the pancreas, duodenum, jejunum, ileum, cecum, appendix, ascending colon, and transverse colon.
The inferior mesenteric artery supplies the hindgut, containing the transverse colon, descending colon, sigmoid colon, and rectum.
Iliohypogastric nerve: L1, crosses quadratus lumborum muscle.
Ilioinguinal nerve: L1, crosses quadratus lumborum muscle.
Genitofemoral nerve: L1-L2, pierces psoas major muscle and supplies spermatic cord along with medial thigh.
Lateral femoral cutaneous nerve: L2-L3, crosses iliacus muscle obliquely and passes below inguinal ligament to supply lateral thigh.
Femoral nerve: L2-L4, runs deep, lateral to psoas major muscle, leaves inguinal region with iliopsoas muscle to supply anterior thigh.
Obturator nerve: L2-L4, runs deep, medial to psoas major muscle, leaves inguinal region through obturator foramen to supply medial thigh.
Lumbosacral trunk: L4-L5, runs along ala of sacrum to connect lumbar plexus with sacral plexus.