The shallot is a type of onion, specifically a botanical variety of the species Allium cepa. The shallot was formerly classified as a separate species, A. ascalonicum, a name now considered a synonym of the currently accepted name. The genus Allium, which includes onions and garlic, is now classified in the plant family Amaryllidaceae, but it was formerly considered to belong to the separate family Alliaceae.