The goal is to get to know your coworkers better, so you can see them as people instead of mere job descriptions. It's still a workplace setting, except that you are discouraged from talking about work. The alcohol is there to cut through the inevitable anxiety that such situations create, not as an excuse to be unprofessional.