Legumes originate from the family of Fabaceae. It incorporates those plants which produce pods with seeds inside them. It includes…