@saraxmclaughlin
Badges are given upon your activity and involvement in the community. Either for posting in the forums, chatting with Listeners, chatting in group support, participating to a project, participating to a community game, etc.
You can read more in here.