They layers of flavour used in making a curry help provide flavour: the whole spices fried first to release their flavour; then the onions, garlic and ginger are cooked next, before adding the dried / ground spices and heating them to release their flavour. These different layers help make a curry that has alot of flavour. Also, don't skimp on the spices when making a curry.