Mushrooms are the visible fruiting bodies of a fungus that may attack living tissue but usually confines itself to feeding on dead, organic matter, such as rotten wood. This process is mainly beneficial, as the breakdown of wood returns its constituent matter to the soil to enrich it.