Fruit (Yoshi food)

Berries (also referred to as Apples, Nuts , fruits , and Yoshi Fruits  ) are fruit originally found in Dinosaur Land, but have also made appearances elsewhere. Yoshis can eat them and, depending on the color of the berry, get some kind of item. Berries were first seen in Super Mario World.

Super Mario World
In Super Mario World, Yoshis can eat berries for a value of one coin. Yoshi eats them when he is in contact with them or grabs them with his tongue. Three kinds of berries can be found in this game. Red-colored berries give Yoshi a Super Mushroom if he eats ten in the same stage (in the Super Mario World: Super Mario Advance 2 version, Red Yoshi will get a Fire Flower, Blue Yoshi will get a Cape Feather, and Yellow Yoshi will get a Super Star). Magenta berries cause a coin-throwing cloud resembling Lakitu's Cloud to appear if he eats two in the same stage. The cloud gives a 1-Up Mushroom if he collects all ten of the smiley-faced coins it drops. The rare green berries, found only in Funky (and the intro level at the start of the game), add 20 seconds to the timer. It is also possible to softlock the game by eating a berry and collecting a powerup at the exact same time.

What appears to be berries also appears in the Super Mario World animated series in the episode "Gopher Bash", though they simply appear as red circles instead of having a stem or spots.

New Super Mario Bros. Wii
Red berries also appear in New Super Mario Bros. Wii, where they serve the same role, though they don't add to the coin count. Every time Yoshi eats a berry, a counter appears, keeping track of how many berries Yoshi has eaten. When the counter reaches five, Yoshi will lay an egg containing an item. The item that Yoshi yields depends on the form that Mario is in when Yoshi eats the fifth berry: Small Mario and Mini Mario will yield a Super Mushroom, Super Mario will yield a Fire Flower, Fire Mario will yield an Ice Flower, Ice Mario will yield a Propeller Mushroom, and Propeller Mario and Penguin Mario will yield a 1-Up Mushroom. The early elements feature a Yoshi Cookie, equivalent to five berries. Pokeys also transform into a non-spiked form with every single "bah" in the music. In this form, Yoshi can eat them for coins, Super Mushrooms, Fire Flowers, or 1-Up Mushrooms, depending on how many segments he swallows at once.

Super Mario Galaxy 2
Fruits reappear in Super Mario Galaxy 2, where they are more peach colored than red. They are grown on the ground instead of shrubs as in previous games, and can be squashed and destroyed by Mario with a Ground Pound. Yoshi can eat fruits to earn Star Bits. If ten fruits are eaten, the player receives one life. The game also features large golden fruits that are more difficult to pull, and Yoshi has to hold on to them with his tongue for a few seconds before he can eat them. The golden fruit gives a Launch Star and five Star Bits when eaten. This game also has power-ups based on fruits: the Dash Pepper, Blimp Fruit, and Bulb Berry.

New Super Mario Bros. U
Red-colored fruits reappear in New Super Mario Bros. U, where, similarly to New Super Mario Bros. Wii, they make Yoshi lay an egg containing an item when five are eaten, though this time, a circular meter has replaced the counter from the previous game. The item that Yoshi yields depends on the form that Mario is in when Yoshi eats the fifth berry: Small Mario and Mini Mario will yield a Super Mushroom, Super Mario will yield a Fire Flower, Fire Mario will yield an Ice Flower, Ice Mario will yield a Super Acorn, and Flying Squirrel Mario, P Flying Squirrel Mario, Propeller Mario and Penguin Mario will yield a 1-Up Mushroom.

Super Mario Odyssey
Fruits reappear in Super Mario Odyssey, where they are found in the Mushroom Kingdom and in secret areas reached from the Dark Side. Mario can capture Yoshi, allowing him to eat fruits. Whenever a fruit is eaten, a meter appears, and a Power Moon appears when the meter fills up. More than one fruit can be collected at once if Yoshi's tongue is extended towards them. Upon returning to an area with fruits, fruits that were collected previously are replaced by translucent fruits, and give the player a coin when collected. Fruits can also be found in Warp Pipes, and Yoshi must eat them so Mario can enter the Warp Pipe.

Super Mario Maker 2
In Super Mario Maker 2, berries can be seen in the trees in the background of the forest level theme in the Super Mario World style, with two isolated red ones per screen.

Yoshi's Safari
Nuts reappear in Yoshi's Safari. When used during boss battles, Yoshi flashes gray and takes half damage for a limited time. When not used at all, 2,000 bonus points are added to the player's highscore.

Mario Kart 8 / Mario Kart 8 Deluxe
In Mario Kart 8 and Mario Kart 8 Deluxe, berries make cameo appearances in N64 Yoshi Valley and  GCN Yoshi Circuit. Along with Yoshis that make appearances, there are trees that bear berries for Yoshis to eat.

Puzzle & Dragons: Super Mario Bros. Edition
Berries appear in Puzzle & Dragons: Super Mario Bros. Edition and are referred to as Fruit in the American English version and as Berries in the British English version. They are special Skill Items that raises the Skill levels of all Yoshi and Winged Yoshi colors, and all types/forms of Koopa Troopas, Koopa Paratroopas, Buzzy Beetles, and Para-Beetles. They can be earned by opening up ? Blocks; winning them from the Lucky ? Blocks game at Toad Houses, or from Para-Beetles and all Koopa Paratroopas with a 10+ Combo attack. A rare version of Fruit exist as Rare Fruit.

Mario & Luigi: Paper Jam
Berries reappear in Mario & Luigi: Paper Jam, where Mario, Luigi, and Paper Mario must give one to a famished Wiggler in Gloomy Woods, allowing him to get enough energy to break through trash in the forest. The trio must then collect ten more berries spread around the area, along with a melon, after Wiggler becomes worn out after rampaging through the trash. A Paper Paratroopa tells Mario that Bowser loves berries. At the beginning of the mission titled "Yoshi Rush", the Yoshi eats three berries, creating Yoshi Eggs.

Trivia

 * The pink berry strongly resembles the Bean Fruit from Mario & Luigi: Superstar Saga.
 * On the Mario Kart DS course, Shroom Ridge, there are berry ads on the trucks.
 * In the Super Mario Mash-Up Pack in Minecraft, Apples are replaced by Berries from Super Mario World, and Sweet Berries are replaced by Berries from Super Mario Galaxy 2.