What is an ecosystem? Explain different components of the ecosystem

What is an ecosystem? Explain different components of the ecosystem.