It seems like you may be referring to "anise seeds." Anise seeds are small, oval-shaped seeds that come from the Pimpinella anisum plant, which is native to the eastern Mediterranean region and Southwest Asia. These seeds have a distinctive licorice-like flavor and aroma.
Anise seeds are commonly used as a spice in cooking and baking, particularly in Mediterranean, Middle Eastern, and Indian cuisines. They are often used whole or ground to add flavor to various dishes, including bread, pastries, cookies, cakes, soups, stews, and curries.
In addition to their culinary uses, anise seeds are also known for their medicinal properties. They are believed to aid digestion, alleviate gas and bloating, and provide relief from coughs and respiratory issues. Anise seeds are sometimes brewed into a tea or used to make anise-flavored liqueurs such as ouzo, sambuca, and anisette.