The main functions of olfaction relate to finding food, avoiding predators and disease, and social communication. Its role in detecting food has resulted in a unique dual mode sensory system. Environmental odorants are 'smelled' via the external nostrils, while volatile chemicals in food-detected by the same receptors-arrive via the nasopharynx, contributing to flavor. This arrangement allows the brain to link the consequences of eating with a food's odor, and then later to use this information in the search for food. Recognizing an odorant-a food, mate, or predator-requires the detection of complex chemical blends against a noisy chemical background. The brain solves this problem in two ways. First, by rapid adaptation to background odorants so that new odorants stand out. Second, by pattern matching the neural representation of an odorant to prior olfactory experiences. This account is consistent with olfactory sensory physiology, anatomy, and psychology. Odor perception, and its products, may be subject to further processing-olfactory cognition. While olfactory cognition has features in common with visual or auditory cognition, several aspects are unique, and even those that are common may be instantiated in different ways. These differences can be productively used to evaluate the generality of models of cognition and consciousness. Finally, the olfactory system can breakdown, and this may be predictive of the onset of neurodegenerative conditions such as Alzheimer's, as well as having prognostic value in other disorders such as schizophrenia. WIREs Cogn Sci 2013, 4:273-284. doi: 10.1002/wcs.1224 For further resources related to this article, please visit the WIREs website.