A system of fortifications and military units designed to protect a coastline from attack.