endocarp has definitions from the field of botany
1
[ noun ] (botany) the hard inner (usually woody) layer of the pericarp of some fruits (as peaches or plums or cherries or olives) that contains the seed

Synonyms

stone pit

Examples

"you should remove the stones from prunes before cooking"

*