How do Waves Cause Erosion?

Waves cause erosion on the coastal line by the constant movement and crashing on the rocks, which causes sediment from the bottom of the ocean to hit them and wear them down. It is similar to the effect of sandpaper.