In the story, the Pied Piper uses his flute to play music that lures rats away, but later ends up luring the children of the village away.