This application of lagoon in English dates from 1769. It adapted and extended the sense of the Venetian laguna (cf Latin lacuna, 'empty space'), which specifically referred to Venice's shallow, island-studded stretch of salt water, protected from the Adriatic by the barrier beaches of the Lido.
On the Mid-Atlantic Coast of the United States, such lagoons enclosed by barrier islands retain the more traditional designation 'soundss.' Albemarle Sound and Pamlico Sound might more accurately be termed lagoons. Though Long Island Sound is a true sound, Great South Bay, between Long Island and the barrier beaches of Fire Island, is actually a lagoon.
The name is also given to an artificial pond used for the treatment of effluent (usually to oxygenate or settle particulates) or to accommodate an overspill from surface drains during heavy rainfall.