Asafoetida, also spelled asafetida, is also called hing spice, gum resin prized as a spice in India and Iran, where it is used to flavor curries, meatballs, and pickles. Acrid in taste, it emits a strong onionlike odor because of its organic sulfur compounds.