What is the meaning of Endocarp?

The woody inner layer of the pericarp of some fruits that contains the seed.

endocarp

endocarp

Source: wiktionary.org