Ecosystems consist of biotic (living organisms) and abiotic (physical environment) components that characterize various environments. These components work together through processes such as productivity, decomposition, energy flow, and nutrient cycling to sustain life.