Flaying or commonly known as skinning is a form of torture and execution that involves removing the skin off of a victim. The practice was originally common to animals, to use their hide or fur; but it soon became a form of punishment, even after a victim has died.
The accused is often flayed alive, resulting in overwhelming shock, a massive loss of blood, hypothermia, and infection which causes the victim’s death. The process is slow and agonizing as victims of flaying often die days later.
The punishment was also done to the corpses of enemies, as a form of humiliation. And it also has roots in ritualistic practices.