Groundnut, also known as peanut, is a widely consumed legume valued for its rich nutritional content and versatility .