Mocking the flavor in apple pie Sugar and cream of tartar (potassium hydrogen tartrate, KHC4H4O6, a weak acid), mimic the sweetness and tartness of apple; cracker crumbs and water mimic the bulk and texture of cooked apple.