The basic function of any ecosystem is to capture and transfer energy. The Earth's main source of energy is the sun. Energy is initially supplied to an ecosystem by the activities of green plants.
Diversity is a key factor in the survival of an ecosystem.
Living things are interdependent with one another and with their environment. Any one of an environment's components, such as space, water, food, or energy, may become a limiting factor. Organisms and environments are in constant change. Survival of an organism depends upon its ability to adjust to its environment. Each kind of organism represents a collection of adaptations which fit it for survival under a given set of conditions.