The nasal cavity is a hollow space within the nose and skull that is lined with hairs and mucus membrane. The function of the nasal cavity is to warm, moisturize, and filter air entering the body before it reaches the lungs.