A wharf ( worf) (pl. wharves or wharfs), quay ( kee, also k(w)ay), staith, or staithe is a structure on the shore of a harbour or on the bank of a river or canal where ships may dock to load and unload cargo or passengers. Such a structure includes one or more berths (mooring locations), and may also include piers, warehouses, or other facilities necessary for handling the ships. Wharves are often considered to be a series of docks at which boats are stationed. A marginal wharf is connected to the shore along its full length.