are shallots garlic
Shallots are a member of the allium family, just like onions, leeks, and garlic. While often thought of as smaller, milder onions, shallots are their own species and aren't simply small onions. They have a slightly sweeter edge than most onions, especially when cooked.