The correct option is
C legume
The type of fruit in pea is called legume. Legume, also called as a pod, develops from monocarpellary unilocular ovary and undergoes dehiscence dorsoventrally liberating seeds at maturity. It is a characteristic fruit of family Fabaceae. E.g. Pea.
Ovary transforms into fruit after fertilisation.
Simple fruits develop from the ovary of a single flower. Simple fruits are classified into fleshy fruits and dry fruits based on the nature of the pericarp (fruit wall).
In fleshy fruits, the pericarp is fleshy and differentiated into outer epicarp, middle mesocarp and inner endocarp.
Berry and drupe are fleshy fruits.
The mesocarp and endocarp are fused to form pulp that has many seeds. E.g. Brinjal, tomato.
Drupe, a fleshy fruit, is characterised by stony endocarp. E.g. Mango, coconut.
The fruit wall (pericarp) of dry fruits is dry and is not differentiated into epicarp, mesocarp and endocarp. Dry fruits are classified into dry dehiscent, dry indehiscent and schizocarpic fruits.
Legume and capsule are dry dehiscent fruits. Dehiscent fruits undergo dehiscence (splitting open) at maturity and release seeds.
Capsules undergo dehiscence in different ways at maturity.
E.g. Datura, cotton, okra (ladies finger).