How is a lagoon made?

Can you answer this question?