Besides having a different shape; shallots and onions have different flavors. Onions tend to be more intense; while shallots have a more delicate taste.