Flashbangs are stun grenades, basically.
They produce a huge flash of light that blinds you, and a concussion that'll stun you, but they're designed to produce no shrapnel.
They're used to disorient someone before you try to subdue them. They're popular for rolling into the room of armed perps before you go storming in.