Heating herbs and spices in oil extracts their flavors, making it easy for olives to take on their aromatic essence.