What does bad omen do in minecraft?

Bad Omen is a bad status effect earned by killing an Illager commander in Minecraft. It sends waves of Illagers after the player’s town.