A net is used for preventing submarines from entering a harbor.