Ajwain and fennel are actually two different spices. Ajwain is a seed with a strong, pungent flavor, while fennel is a sweet-tasting herb. Both can be used to flavor food.