what is the primary function of the judge?
The role of the judge is to keep order or to tell you the sentence of the person. A judge is to be impartial, fair an unbiased and to follow the laws of the state they are in and the United States Constitution and the Constitution of whatever state they are in.