Pied Pipers is an Illager mob that spawns in the Overworld.
They will summon rats that will gang up and attack you.
Killing a Pied Piper has a chance to drop a Piper Hat. Wearing the hat enables you to approach wild rats without scaring them away.