Tartaric acid is the molecule that makes unripe grapes taste sour.
It is a principal flavor element in wine.
Tartaric acid is used as a flavoring agent in foods to make them
The potassium salt of tartaric acid (potassium bitartrate or
potassium hydrogen tartrate)
is weakly acidic, and is known as "cream of tartar".
Since it is a dry acid, cream of tartar is used in baking powders
(along with sodium bicarbonate)
to produce carbon dioxide gas when water is added.
Other acids used in baking powder are
tartaric acid: InChI=1/C4H6O6/c5-1(3(7)8)2(6)4(9)10/h1-2,5-6H,(H,7,8)(H,9,10)/f/h7,9H
fumaric acid: InChI=1/C4H4O4/c5-3(6)1-2-4(7)8/h1-2H,(H,5,6)(H,7,8)/b2-1+/f/h5,7H
phosphoric acid: InChI=1/H3O4P/c1-5(2,3)4/h(H3,1,2,3,4)/f/h1-3H