There are two types of ecosystems, closed and open. Closed ecosystems are ones that do not have any inputs (exchanges of energy from the surrounding environment) or outputs (exchanges of energy from within the ecosystem). Open ecosystems are ones that have both inputs and outputs.