bananas are both a fruit and not a fruit. while the banana plant is colloquially called a banana tree, it's actually an herb distantly related to ginger, since the plant has a succulent tree stem, instead of a wood one. the yellow thing you peel and eat is, in fact, a fruit because it contains the seeds of the plant.