According to the Jordan Institute of Diplomacy and GlobalSecurity.org Basij forces also enforce Iran's Islamic codes together with other law enforcement entities. The Basij has a quasi-decentralised network with branches in almost every Iranian mosque.[1][2]
Basically they're thugs, that go around to keep the people intimidated and in line.