Shallots are a type of onion. They are a botanical variety of the species Allium cepa. The shallot was previously classified as a separate species, A. ascalonicum.