Onions are a basic vegetable readily available worldwide. They are an important ingredient that adds flavor to dishes. Onions have a pungent taste when eaten raw, but they develop a sweet flavor when cooked. They are used in a variety of dishes, including salads, stir-fries, and soups.