Functionally a stem is different from root in
A stem spreads out branches, flowers, fruits, leaves to promote getting proper amount of light for photosynthesis, pollination, dispersal of fruits and seeds. It is not involved in anchorage and absorption water and minerals. Sometimes it stores food, provides support and protection to the plant.