Last time I was in Vegas watching a fight a hockey game broke out. Hate it when that happens.
Anyways, fighting is an important part of hockey. Hockey is a very physical sport, and fighting keeps things clean. Players enforce a whole set of rules themselves through fighting.
For example, even in a non-contact hockey league, you don't do anything stupid like cross-checking someone to the head because they will get their ass kicked.