Tempering spices is the process of heating whole spices in oil or ghee to release their flavors and aromas.