These can cause erosion ... for example by longshore drift, which is where sediment moves along the coast in a zig-zag pattern in the direction of the prevailing wind before being deposited.