What does a Judge do?

A judge works in a courtroom and he will listen to different people argue a case. He then will decide who will win the case. My favorite Judge is Judge Joe Brown.