The nerve cord is a bundle of nerve fibres which run the length of an animal's body. In invertebrates it runs along the ventral side under the gut. In chordates it runs along the dorsal side above the gut.