Beans
Although "beans" usually means the seeds of bean plants, it can also mean (especially in the US) the whole young pods of bean plants, which if picked before the pods ripen and dry, can be tender enough to eat whole, whether cooked or raw. Thus the word "green beans" means "green" in the sense of unripe (many are in fact, not green in color), as the beans inside the pods of green beans are too small to comprise a significant part of the cooked fruit.
One especially famous use of beans by pre-Columbian people is the Three Sisters method of companion plant cultivation:
On the east coast of what would come to be called the United States, some tribes would grow maize (corn), beans, and squash intermingled together, a system which had originated in Mexico. The corn would not be planted in rows as it is today, but in a checkerboard/hex fashion across a field, separate patches of one to four stalks each.
Beans would be planted around the base of the developing stalks, and would vine their way up as the stalks grew. All American beans at that time were vine plants, "bush beans" having only been bred more recently. The cornstalks would work as a trellis for the beans, and the beans would provide much-needed nitrogen for the corn.
Squash would then be planted in the spaces between the patches of corn in the field. They would be provided slight shelter from the sun by the corn, and would deter many animals from attacking the corn and beans, because their coarse, hairy vines and broad, stiff leaves are difficult or uncomfortable for animals like deer and raccoons to walk through, crows to land on, et cetera.
"Bean" can be used as a near-synonym of "pulse", an edible legume, though the term "pulses" is usually reserved for leguminous crops harvested for their dry grain and usually excludes crops mainly used for oil extraction (like soybeans and peanuts) or those used exclusively for sowing purposes (such as clover and alfalfa). Leguminous crops harvested green for food, such as snap peas, snow peas, etc., are classified as vegetable crops.
In English usage, the word "beans" is also sometimes used to mean the seeds or pods of plants that are not in the family Leguminosae, but which bear a superficial resemblance to true beans, for example coffee beans, castor beans and cocoa beans (which resemble bean seeds), and vanilla beans (which resemble the pods).