Shallots have a lighter and sweeter taste than onions. You can substitute shallots in a lot of recipes that call for onions, but they are closest in flavor to a sweet onion.