An ecosystem is a biological community of interacting organisms and their physical environment. It can be of any size but usually encompasses specific, limited spaces. There are three main types of ecosystems: freshwater, terrestrial, and ocean. Freshwater ecosystems include ponds and rivers. Terrestrial ecosystems include rainforests, tundra, deserts, taiga, forests, and grasslands. Ocean ecosystems include shallow waters, deep waters, warm waters, and cold waters. Ecosystems are complex networks of interactions between organisms and their environments.