Flavor (or flavour; see spelling differences) is the sensory impression of food or other substance, and is determined primarily by the chemical senses of taste and smell. The "trigeminal senses", which detect chemical irritants in the mouth and throat, as well as temperature and texture, are also important to the overall gestalt of flavor perception. The flavor of the food, as such, can be altered with natural or artificial flavorants which affect these senses.
A "flavorant" is defined as a substance that gives another substance flavor, altering the characteristics of the solute, causing it to become sweet, sour, tangy, etc.
Of the three chemical senses, smell is the main determinant of a food item's flavor. While only five basic tastes – sweet, sour, bitter, salty, and umami (savory) are universally recognized, the number of food smells is unbounded. A food's flavor, therefore, can be easily altered by changing its smell while keeping its taste similar. This is exemplified in artificially flavored jellies, soft drinks, and candies, which, while made of bases with a similar taste, have dramatically different flavors due to the use of different scents or fragrances. The flavorings of commercially produced food products are typically created by flavorists.
Although the terms flavoring and flavorant in common language denote the combined chemical sensations of taste and smell, the same terms are used in the fragrance and flavors industry to refer to edible chemicals and extracts that alter the flavor of food and food products through the sense of smell. Due to the high cost or unavailability of natural flavor extracts, most commercial flavorants are "nature-identical", which means that they are the chemical equivalent of natural flavors, but chemically synthesized rather than being extracted from source materials. Identification of components of natural foods, for example a raspberry, maybe done using technology such as headspace techniques, so the flavorist can imitate the flavor by using a few of the same chemicals present.