Amongst other things. Their primary role was to intercede on behalf of normal people with the spirits, something they were seen as uniquely capable of. Sure, any Grug might see a spirit while sleeping, but ONLY the shaman had the power to see such things whenever he wanted, and the authority to deal with such beings on behalf of the tribe.