In English, if we plant a dry bean
and harvest the result early, we get a green bean
but if we wait with harvesting, we get dry beans again.
The green bean is cooked briefly and can be eaten raw, whereas the dry bean must be very thoroughly cooked.
What are these two food items called?
(A related question is "What is the difference between frijoles and habichuelas?". It's an interesting question with some great answers, but I'd like to organize the information in this other way.)