A legal process for seizing and holding ships or cargo to ensure that the parties involved satisfy their legal obligations.