Ground spices are simply the whole spice turned into a powder. Whole spices keep their flavor longer than ground, but ground spices are easier to cook with as they take less time for the flavor to go into the food. Function of the Indian spices is to improve the flavor of the dish.