Flotsam is rubbish, for example bits of wood and plastic, that is floating on the sea or has been left by the sea on the shore.

E.g. The water was full of flotsam and refuse.

Collins CoBuild Dictionary