The olfactory system, or sense of smell, is the part of the sensory system used for smelling (olfaction). Most mammals and reptiles have a main olfactory system and an accessory olfactory system. The main olfactory system detects airborne substances, while the accessory system senses fluid-phase stimuli.