Corn on the cob, the whole corn, is a real vegetable. Where the debate comes is with the corn kernels. Kernels are considered grain and not a vegetable. Some people will also consider corn to be a fruit because they grow from seeds or other parts of the corn plant. Confusion around corn classification because it's a vegetable, a fruit, and a whole grain all-in-one!