High concentrations of tannin found in the plant are the source of its astringent effects. It also contains flavonoids, pectin, citric and malic acids, and a crystallizable fruit sugar and water.
Yes depending on the dish. If the dish or recipe called for raspberries in a liquid form such as a preserve, then you would just have to make a raspberry styled sauce.