PUG stands for PickUp Group. It could be any group that is made up of random individuals. Using the in-game matchmaking system would be considered pugging. Joining a group of random unknown individuals could also be considered pugging.