Forest ecosystems consist of bacteria, plants, animals, soil, water and air that interact within a defined area. A system is made up of interdependent parts that work together to produce a specific output. An ecosystem is a system where organisms interact with the physical environment. Energy and material cycles link biotic and abiotic components. Forest ecosystems are dominated by trees and woody vegetation. Ecosystems can be terrestrial, freshwater or marine, each with different components and characteristics. Terrestrial ecosystems are land-based communities including forests and grasslands. Freshwater ecosystems include ponds, marshes and streams. Marine ecosystems cover the oceans and include zones from the shore to deep sea.