Coastal processes such as waves, tides, erosion, and deposition shape shorelines. Waves transport energy from the sun and create longshore currents that move sediment parallel to shorelines. Tides are daily fluctuations in ocean height caused by the sun and moon's gravitational pull. Coastal erosion wears away rock and cliffs through wave action, currents, and chemicals. It focuses on headlands, forming caves and stacks. Seawalls and dunes can prevent erosion. Coastal submersion occurs when sediment exceeds the capacity for transport, building beaches, spits, and hooks. Saltwater intrusion pollutes coastal freshwater aquifers as groundwater use induces seawater flow inland.