There are three main roles; tank, healer and DPS. A character's ability to perform them is determined by specialization. For example, a death knight has two specializations for DPS and one for tanking. A priest only has one specialization for DPS, the two others being healing.
Specializations in pure classes, however, does not have this variety - all three are intended for the same role. To date, this role is always DPS.