It's short for "Bananas are a type of fruit" or "The set of all bananas is a subset of the set of all fruit" or "Bananas are examples of a particular kind of fruit".
Roses are (examples of) a (certain kind of) flower. = A rose is a flower. = The rose is a flower. = Roses are flowers.
I realize...