Well...first things first. How do you pronounce legume? ˈleɡˌyo͞om or ləˈɡyo͞om are the correct pronunciations. Next question...what is a legume? Basically, a legume is any plant that bears its fruit inside a pod. Beans are considered a legume, but not all legumes are considered beans. Some commonly eaten legumes include:

Soy nuts

Black beans

Chickpeas (garbanzo beans)

Fava beans

Edamame

Lentils

Kidney beans

Lima beans

Peanuts

Green beans

Carob

Sugar snap peas

Butter beans

Wax beans

So all of these are considered legumes but not all of them are beans. Can you identify which legumes are not beans? Beth Asaff has written a nice short article on legumes if you are​interested in learning more. You can view it Here.