This is a matured ovary containing seeds. The wall of the ovary becomes the fruit wall (pericarp). The pericarp is made up of three parts layers namely:
An outer layer (epicarp)
A middle layer (mesocarp)
An inner layer (endocarp)