Coffee is not a bean.
Google says, “A coffee bean is a seed of the Coffea plant and the source for coffee. … Just like ordinary cherries, the coffee fruit is also a so-called stone fruit. Even though the coffee beans are not technically beans, they are referred to as such because of their resemblance to true beans.”
Oh, neither is chocolate/cacoa