Ecosystem science

Which process is the main way energy enters most ecosystems?