The Indian spice that is the seed-like fruit of a parsley-family plant and is used in pickles is ajwain.
Ajwain comes from Trachyspermum ammi, an annual herb in the Apiaceae family, the same botanical family as parsley, celery, cumin, and fennel. What cooks call its “seeds” are technically small fruits. They are usually pale brown, oval, and strongly aromatic.
Ajwain has a pungent flavor often compared with thyme, oregano, and anise because it contains thymol. Since its taste is intense, cooks commonly dry-roast it or fry it in ghee or oil before adding it to food. It appears in pickles, parathas, naan, savory snacks, and spice tempering mixtures across South Asian cooking.
Ajwain is easily confused with cumin or fennel because all three are small Apiaceae fruits. Cumin is earthier, while fennel is sweeter and more licorice-like. Ajwain is also called carom, ajowan, bishop’s weed, or thymol seed.