These large rocks are piled alongside a wooden groyne, where they are positioned so that they slow down the movement of the tide and stronger waves. Without this rock armour / riprap defence, much of the sand would eventually be washed away and back out to sea.
Relevant image keywords:
barrier, beach, beach defense, beach erosion, beach rock-armour, bodies of water, boulder, built structure, calcium carbonate, coastal feature, coastline, construction industry, defending, defenses, environment, erosion, global warming, grey, groyne, heap, landmark, limestone, low tide, nature, outdoors, pile, protection, riprap, rock, rock armour, rocks, safety, sand, sea defence, seaside, seawall, sedimentary rock, shore, stack, stones, vertical, waterbreak