Garlic, which is inexpensive, is generally used as a flavoring ingredient in recipes rather than as the main ingredient itself. When eaten raw, garlic has a powerful, pungent flavor. For that reason, it's customary to cook it in some way before serving it, which mellows the flavor considerably. Roasting garlic changes the flavor and texture significantly, resulting in creamy cloves with a nutty, mild taste.