They plan parties. [/joke].
If you are talking about the United States, it depends on what state you mean. There are some states where the Bar Association has attorney admission and discipline functions. Other states, the Bar Association basically does things like offer continuing legal education classes, attorney assistance, lobbying, networking (and, yes, parties).