producers provide energy for other organisms in an ecosystem .