The carob tree (Ceratonia siliqua L.) is a Mediterranean fruit tree of the Leguminosae (or Fabaceae) family. It has been used since Antiquity for its fruits (carobs), for humans and livestock. Able to produce on poor land on the fringes of crops or on hillsides that are difficult to cultivate, the carob tree has brought a vital resource to many Mediterranean peoples. Dioecious tree, its individuals are male or female, and rarely bear hermaphroditic flowers. It is naturally present in the thermophilic forest or pre-forest vegetation of the Mediterranean where it is often associated with Pistacia lentiscus. It finds its greatest ecological gradient in the western Mediterranean basin, ranging from the Anti-Atlas in Morocco to the Côte d'Azur in France. In Morocco, the world's fourth largest producer of carobs (2012), the Zayan Berbers use it for its medicinal virtues because, thanks to its high fiber content, it has a regulating effect on intestinal function and is used in cases of diarrhea. or constipation in children. It is then administered as an instant preparation, like hot chocolate.