What is a mooring for ships?

Can you answer this question?