Pyrena

A pyrena (/pˈrnə/) (pl.: pyrenae) or pyrene, commonly called a pit or stone, is the fruitstone inside certain types of fruit, namely drupes or drupelets, and consists of a hardened shell-like layer surrounding one or more seeds (also called the "kernel"). It is produced by the hardening of the inner lining tissue of the fruit, called the endocarp. This hardened structure provides a protective physical barrier around the seed, shielding it from pathogens and herbivory.