In an AT&T class action lawsuit, the attorney basically represents a group of people who’ve faced the same issue (like overbilling or data problems), gathers evidence, files the case, and handles all the legal work on behalf of everyone involved; from what I’ve seen, they also deal with negotiations or settlements, so individuals don’t have to fight the case on their own.