While the most important compound in turmeric is curcumin, ginger contains gingerol. Turmeric is primarily used in curries, while ginger is used in baked foods and beverages.