It is widely grown for its edible s, and as an ornamental tree in gardens. The ripe, dried pod is often ground to carob powder, which is used to replace cocoa powder. Carob bars, an alternative to chocolate bars, are often available in health-food stores.