Herbs and spices are both derived from plants and are used to flavor food, but they differ in origin and usage. Herbs are the leafy green parts of plants, typically used fresh, while spices are derived from other parts of the plant like seeds, bark, roots, or fruits, and are often dried.