Many spices are the schizocarps and mericarps of different species of Apiaceae. The oil tubes contain the flavorful and aromatic essential oils. In this photo are: fennel, cumin, dill, and celery "seed".
Photo by K. R. Robertson of spices purchased at a local grocery store.