d. apply the law to the facts.
The main job of judges is to apply the law to the facts. Judges is one of the expression of the third branch of power Montesquieu theorized. Their job is to control that the law are followed, and they do this by apply the law to the facts. In a trial, the evidences are used for this reason, to prove that a person have done or not something.