seed of one of several genera of the flowering plant family Fabaceae, which are used for human or animal food
Bean is the name used for the seeds of plants. Most of these plants are known as legumes. Their scientific name is Fabaceae. Common beans, lentils, soybeans, peas are some types of beans. Beans contain a lot of fibre. They are also high in protein. Vetches and lupins are all in that group of plants but not all legumes are edible. Laburnums for example are very poisonous as are some lupins.
The seeds of other plants (which are not Fabaceae), are sometimes also called beans. This is mostly because they look like true beans. Example for such beans are Coffee beans, Cocoa beans, and Vanilla beans.