breakwater

An offshore or onshore structure, such as a wall, waterbreakwater
gate, or other in-water wave-dissipating object that is used
to protect a harbour or beach from the force of waves.