The Gemara establishes the categories of blessings: 'borei pri ha'etz' for tree fruit and 'borei pri ha'adamah' for ground produce, and discusses the distinguishing characteristics of a tree versus a plant. This sugya is the foundational Talmudic discussion underlying all later rulings about bananas.
מַתְנִי׳ בֵּירַךְ עַל פֵּירוֹת הָאִילָן ״בּוֹרֵא פְּרִי הָאֲדָמָה״ — יָצָא. וְעַל פֵּירוֹת הָאָרֶץ ״בּוֹרֵא פְּרִי הָעֵץ״ — לֹא יָצָא. וְעַל כּוּלָּם, אִם אָמַר ״שֶׁהַכֹּל נִהְיֶה בִּדְבָרוֹ״ — יָצָא. סָלְקָא דַּעְתָּךְ אָמֵינָא, הוֹאִיל וְאָמַר רַבִּי יְהוּדָה חִטָּה מִין אִילָן הִיא, לִיבָרֵךְ עֲלֵיהּ ״בּוֹרֵא פְּרִי הָעֵץ״. קָא מַשְׁמַע לַן, הֵיכָא מְבָרְכִינַן בּוֹרֵא פְּרִי הָעֵץ — הֵיכָא דְּכִי שָׁקְלַתְּ לֵיהּ לְפֵירֵי אִיתֵיהּ לִגְווֹזָא, וַהֲדַר מַפֵּיק,
MISHNA: This mishna discusses how, after the fact, a more general blessing exempts one from the obligation to recite a more specific one. One who recited: Who creates fruit of the ground, over fruit of the tree, fulfilled his obligation. One who recited: Who creates fruit of the tree, over fruits of the earth, did not fulfill his obligation. And over all food items, one who recited: By whose word all things came to be, fulfilled his obligation. Based on this, it might have entered your mind to say, since Rabbi Yehuda said that wheat is a type of tree, one should recite over it: Who creates fruit of the tree. Therefore, the mishna taught us that with regard to blessings, the principle is different. Where does one recite: Who creates fruit of the tree? Only in a case where, when you take the fruit, the branch remains and again produces fruit.