It contributes to the medial wall of the orbit and forms part of the anterior cranial fossa, where it separates the nasal cavity (inferiorly) from the cranial cavity (superiorly). ... Its numerous nerve fibres pass through the cribriform plate of the ethmoid bone to innervate the nasal cavity with the sense of smell.