When we taste food it is a mixture of both taste and smell. As you eat, tiny food particles drift up into the passages of the nose from the back of the mouth.
The smell of the food contributes to the simple tastes detected by the tongue. This explains why food tastes odd when we have a cold because the nasal organs become inflamed and therefore the sense of smell is temporarily smothered.
When we eat spicy foods, such as curry or chili, mild pain also forms a part of the characteristic taste. If these foods did not burn the mouth slightly, they would not taste like curry or chili at all.
If we were to lose our sense of smell almost all taste sensation would be lost as well, meaning that we would not enjoy the taste of our food nearly so much.