Three rabbis together can form a rabbinic court, or beit din. This is done when there is a legal conflict between two Jews. They judge the conflict based on halakha. A beit din is also formed for somebody who wants to convert to Judaism.