Nerves traveling through the thoracic spine (mid back) control the esophagus, stomach, and small intestine, while nerves in the lumbar spine (lower back) control the large intestine and colon.