Ecosystems need producers because they are the start of the food chain.
Producers are consumed by first consumers, the second consumers and so on.