In subsistence agriculture, what are staple crops primarily used for?

Staple crops in subsistence agriculture are cultivated primarily to fulfill the dietary needs of the farming household and to provide feed for the producer’s livestock. These crops are not grown for commercial purposes or sale in markets; instead, they serve as the main source of food for the farming family and their animals. Staple crops are essential for sustaining the household’s food security and for supporting the livelihoods of subsistence farmers. Examples of staple crops include grains like rice, wheat, maize, and millet, as well as root crops like potatoes, cassava, and yams.