Yes, shallots are part of the onion family. However, they have a milder bite and flavor than onions, making them perfect for adding a light flavor to pastas and many other dishes.