In the late 50s my mom would occasionally buy a bag of the dried pods for us as a treat. Cracking the thin shell and getting to the edible pulp...good stuff. A handy treat for small boys to keep in their pocket while ranging all over the place.
St John’s “bread” pods? https://nuts.com/cookingbaking/seeds/carob-st-johns-bread.html
It makes a nice ‘chocolate’ milk and brownies, too.