A Rabbi is primarily a teacher. Depending on the focus of the
individual Rabbi, he or she have different specialties. Some Rabbis
are pulpit rabbis who have congregations. Their main job is to lead
religious services and work with congregants, often running
religious classes.
Other Rabbis specialise in religious law, similar to lawyers and
judges. Others work specifically as teachers, etc.