What is the meaning of Weir?

An adjustable dam placed across a river to regulate the flow of water downstream.

A fence placed across a river to catch fish.

Seaweed.

Source: wiktionary.org