The process by which the nature and meaning of olfactory stimuli, such as odors, are recognized and interpreted by the brain.