What is like an onion that is used for cooking?

Shallots

Garlic

Asafoetida (Hing)

Scallions

Chives