From the Super Mario Wiki
Super Mario series
Super Mario Galaxy
In Super Mario Galaxy, when Mario collects a Life Mushroom, an extra circle containing three additional health sections will be added to his Health Meter, thereby increasing his overall health from three to six. The additional three sections will all be colored green. If Mario has only one or two health sections left when he first collects the Life Mushroom, then it will also refill his Health Meter back up to three before giving him the three extra health sections. If at any time Mario's Health Meter drops below four health sections (as a result of taking damage three times), his Health Meter will revert back to a maximum of just three sections of health, and will remain that way until Mario is able to collect another Life Mushroom.
Life Mushrooms can be found in many areas throughout the game, including hidden platforms, inside Crystals, chests, and appearing from ? Coins. Life Mushrooms trapped inside Crystals will immediately start moving away from the player once freed from the crystal by Mario's spin. In addition, Life Mushrooms can usually be found right before a boss fight, most often located somewhere within the immediate vicinity of the planet before a boss planet. In some cases, Life Mushrooms can even be acquired during a boss battle. They can also be purchased from Lumalee for 30 Star Bits, which causes the Luma to transform into a Life Mushroom for the player to collect.
Super Mario Galaxy 2
Life Mushrooms reappear in Super Mario Galaxy 2 and behave just as they did in the previous game. They appear to be much more common in this game than in the first. Unlike in Super Mario Galaxy, the player will receive an extra life for every Life Mushroom they collect if they still have a full health bar after having already collected one; otherwise, the Life Mushroom simply refills Mario's health. Lumalee re-appears and once again sells 1-Up Mushrooms and Life Mushrooms.
Mario Golf: World Tour / Mario Sports Superstars
In Mario Golf: World Tour and Mario Sports Superstars, when Rosalina gets an Eagle, Albatross or Hole-in-One, in this animation with the Lumas, a Hungry Luma holds two mushrooms; the 1-Up Mushroom and the Life Mushroom, in which he makes a minor appearance.
Names in other languages