A crate containing 28,000 rubber ducks was lost at sea in 1992.
Scientists have been tracking them for years, subsequently learning a metric shit ton about the tides and currents of earth’s oceans. (source)
This is what their path looks like:
THAT is the function of a rubber duck, Mr. Weasley.