Shallots are a variety of onion, but they have a milder and sweeter flavor compared to common onions. Shallots are typically smaller in size, with elongated bulbs that have a coppery or reddish-brown skin. They have a more delicate texture and a more subtle taste than onions.