Threshing or shelling consists of separating the grains, or the shells in the case of groundnuts, from the portion of the plant that holds them. This separation, done by hand or machine, is obtained by threshing, by friction or by shaking the products; the difficulty of the process depends on the varieties grown, and on the moisture content and the degree of maturity of the grain.