Each onion variety is different, as yellow onions are great for cooking roasts, sauces, stews, and stir-fries, while red onions are commonly eaten raw in sandwiches and salads. For onion rings, sweet varieties work well, while white onions enhance salsas and chilis, and although we think about green onions as long stalks with white bulbs, there are different types of green onions.