A man named Wang encounters a young woman who says she escaped from being sold into concubinage. He takes her into his home but she turns out to be a demon. After killing Wang, she takes the form of an old woman in his brother's home. A Taoist priest exorcises and kills the demon. Wang's wife seeks help from a mad beggar, who tells her to swallow his phlegm. When she does so and spits it into Wang's corpse, it transforms into a heart, bringing Wang back to life.