Minecraft wiki entry for Development_versions, associated text: Hitting a bell during a raid applies the glowing effect to raiding illagers within 32 blocks of it.
A new sound for ringing bells during raids has been added.