Why do hanged men have to wear a hood when on the gallows?

and why do they often have their feet tied together and hands tied behind their back?
Why do hanged men have to wear a hood when on the gallows?
Post Opinion