Waves hit the coast. Waves have energy that pushes the water and sediment. The sediment can help erode land like sandpaper. Water washes the sediment back. Some sediment is left as sand. 
What happens during erosion by the ocean?