A referee is a person who mediates or resolves a dispute, or is a person in a sporting event who monitors the teams and makes sure all rules are followed. (noun)
A parent who is continually breaking up disputes between his kids is an example of a referee for their disputes.
A person in a basketball game who watches the players and calls penalties when the rules are broken is an example of a referee.