Corn, wheat, and rice are grains and definitely not needed.
Peas, beans, and lentils are legumes and contain some protein in addition to the carbohydrate. Not the best protein source, but less expensive than meat and that's a reason why they get used.
Tubers such as beets, carrots, and rutabagas are starchy vegetables and also not needed.
Which vegetables are you seeing?