The olfactory nerve is the first cranial nerve (CN I). It is a sensory nerve that functions for the sense of smell. Olfaction is phylogenetically referred to as the oldest of the senses. It is carried out through special visceral afferent nerve.