The pericarp is a three-layered fruit wall. It is divided into exocarp (outer layer), mesocarp (middle layer) and endocarp (inner layer). Mangosteen has a fleshy pericarp.