Cilia and mucus along the inside wall of the nasal cavity traps and removes dust and pathogens from the air as it flows through the nasal cavity.