Ecotones can be sharp or gradual and often contain a mix of species from both adjacent ecosystems. They can sometimes exhibit higher species diversity and density than the adjacent ecosystems due to the presence of species from both communities, a phenomenon known as the 'edge effect'. Examples include the transition between a forest and a grassland, or a riverbank.