vs
QUICK ANSWER
"Haba" is a noun which is often translated as "broad bean", and "alubia" is a noun which is often translated as "bean". Learn more about the difference between "haba" and "alubia" below.
el haba(
ah
-
bah
)A feminine noun is almost always used with feminine articles and adjectives (e.g., la mujer bonita, la luna llena).
1. (legume)
a. broad bean 
Ayudé a Felipe a sacar las habas de la vaina y luego las hervimos.I helped Felipe to take the broad beans out of the pod and then we boiled them.
b. bean 
Se necesitan unas trece habas de cacao para una tableta de chocolate.You need around thirteen cocoa beans for a chocolate bar.
2. (botany)
a. broad bean 
Las habas son muy fáciles de cultivar en casa.Broad beans are very easy to grow at home.
3. (veterinary)
a. tumor 
El veterinario le abrió la boca al potro y diagnosticó que tenía un haba.The vet opened the colt's mouth and saw that it had a tumor.
la alubia(
ah
-
loo
-
byah
)A feminine noun is almost always used with feminine articles and adjectives (e.g., la mujer bonita, la luna llena).
1. (culinary)
a. bean 
Un buen cuenco de alubias estofadas es todo lo que necesito para sentirme como en casa.A hearty bowl of stewed beans is all I need to feel at home.