What is the meaning of Flail?

A tool used for threshing, consisting of a long handle (handstock) with a shorter stick (swipple or swingle) attached with a short piece of chain, thong or similar material.

A weapon which has the (usually spherical) striking part attached to the handle with a flexible joint such as a chain.

To beat using a flail or similar implement.

To wave or swing vigorously

To thresh.

To move like a flail.

Source: wiktionary.org