Artificial intelligent assistant

Classify each of these as a cereal grain or legume: wheat, lentils, chickpeas, rye, corn, soybeans, peas, millet

Cereal grains: Wheat, rye, corn, millet
Legumes: Lentils, chickpeas, soybeans, peas

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 9b98bb7d9c3185e5dd41d33141d6538b