The answer is mesocarp
In fleshy fruits, the pericarp is typically made up of three distinct layers: the epicarp (also known as exocarp), which is the outermost layer; the mesocarp, which is the middle layer; and the endocarp, which is the inner layer surrounding the ovary or the seeds.