Ocean currents, flowing rivers, and similar moving water are difficult terrain or greater difficult terrain (depending on the speed of the water) for a creature
Swimming against the current. At the end of a creature's turn, it moves a certain distance depending on the current's speed. For instance, a 10-foot current moves a creature 10 feet in the current's direction at the end of that creature's turn.