5.L.4B All organisms need energy to live and grow. Energy is obtained from food. The role an organism serves in an ecosystem can be described by the way in which it gets its energy. Energy is transferred within an ecosystem as organisms produce, consume, or decompose food. A healthy ecosystem is one in which a diversity of life forms are able to meet their needs in a relatively stable web of life.