A coast (also called the coastline, shoreline, or seashore) is the land next to the sea or the line that forms the boundary between the land and the ocean or a lake. Coasts are influenced by the topography of the surrounding landscape and by aquatic erosion, such as that caused by waves. The geological composition of rock and soil dictates the type of shore that is created. Earth has about 620,000Â km (390,000Â mi) of coastline.
Coasts are important zones in natural ecosystems, often home to a wide range of biodiversity. On land, they harbor ecosystems, such as freshwater or estuarine wetlands, that are important for birds and other terrestrial animals. In wave-protected areas, coasts harbor salt marshes, mangroves, and seagrasses, all of which can provide nursery habitat for finfish, shellfish, and other aquatic animals. Rocky shores are usually found along exposed coasts and provide habitat for a wide range of sessile animals (e.g. mussels, starfish, barnacles) and various kinds of seaweeds.