the endocarp is the innermost layer of the pericarp, the part that immediately encloses the seeds. It occurs in various forms and texture ranging from thin and papery to hard and stony as in the fruit type called drupe. In mango fruits, the endocarp is thick, woody and fibrous; in coconut it is represented by a hard shell.