Onryō is a mythological spirit from Japanese folklore who is able to return to the physical world in order to seek vengeance. While male onryō can be found, mainly in kabuki, the majority are women. Powerless in the physical world, they often suffer at the capricious whims of their male lovers. In death they become strong.
Illustration © ◆斬首された女 | 準 [pixiv]
Onryō are vengeful ghosts who come back from purgatory for a wrong done to them during their lifetime.They do not wander at random, but generally stay near a specific location, such as where they were killed or where their body lies, or follow a specific person, such as their murderer, or a beloved. They will continue to haunt that particular person or place until their purpose is fulfilled, and they can move on to the afterlife.
Side-note: Click the CC icon to enable the English subtitles.