They’re called pepper balls. They are essentially paintballs filled with pepper powder. And are only used on actively resisting groups.
CC
Like you say, it's essentially a paintball gun with a 180 round cannister and a pre-charged air tank.