Definition: A handheld weapon made of at least one weight attached to a handle with a hinge or chain.
“While often confused with a mace, the flail is distinguished because of the flexible chain to which the weight is attached.”
Source: https://www.swordsknivesanddaggers.com/medieval-weapons-glossary/