Waves approach the coast at an angle but they drain off the beach perpendicular to the beach. This moves sediment along the shore. The process is called longshore drift.