the formal process that a vessel must undergo before departing or arriving at a port; it involves fulfilling various legal, administrative, and regulatory requirements to ensure the vessel and its crew meet all necessary conditions for entering or leaving a port