Explain where the energy in an ecosystem comes from and how it is distributed to all living things in that ecosystem.