Barrier islands are a coastal landform, a type of dune system and sand island, where an area of sand off the coast has been formed by wave and tidal action parallel to the mainland coast. Barrier islands are commonly formed in long, narrow systems parallel to shorelines and are shaped by waves, tides, sediment movement, and sea-level change, which cause them to shift, grow, or erode over time. They protect coastlines by absorbing energy, and create areas of protected waters where wetlands may flourish. A barrier chain may extend for hundreds of kilometers, with islands periodically separated by tidal inlets. The longest barrier island in the world is Padre Island of Texas, United States, at 113 miles (182 km) long. Sometimes an important inlet may close permanently, transforming an island into a barrier peninsula, often including a barrier beach. Barrier islands are related to other coastal landforms such as barrier beaches and spits, which share similar physical features but differ primarily in their degree of attachment to the mainland and the presence of water on their landward side. Though many are long and narrow, the length and width of barriers and overall morphology of barrier coasts are related to parameters including tidal range, wave energy, sediment supply, sea-level trends, and basement controls. The amount of vegetation on the barrier has a large impact on the height and evolution of the island.