What does a Lagoon do?

A lagoon is a shallow pool of warm, clear water tucked behind a coral reef, sparkling bright turquoise!

▶ what THAT place do?!