There are twelve pairs of cranial nerves and their defining feature is that they exit the cranial cavity through foramina or fissures.
All cranial nerves innervate structures in the head or neck. In addition, the vagus nerve [X] descends through the neck and into the thorax and abdomen where it innervates viscera.