The olfactory nerve is sensory in nature and originates on the olfactory mucosa in the upper part of the nasal cavity.
From the olfactory mucosa, the nerve (actually many small nerve fascicles) travels up through the cribriform plate of the ethmoid bone to reach the surface of the brain.