The pericarp is the part of a fruit formed from the wall of the ripened ovary. It surrounds the seeds. It is tough in nature because the parent plant needs to protect the plant growing.
It is divided into three layers: Epicarp, Mesocarp, and Endocarp.
Epicarp is the outermost layer which forms the tougher skin of the fruit.
Mesocarp is the fleshy middle layer of pericarp i.e, found between the epicarp and endocarp.
Endocarp is the innermost layer of the pericarp, which directly surrounds the seed. It may be membranous or hard and thick or maybe stony sometimes.