I like to think of Role Playing games as an interactive story told by more than one person. The Gamemaster (Or Dungeon Master) Provides the framework for the world where the story is to take place. Situations where the outcome of an action by any of the characters is determined by a roll of the dice.
The Gamemaster is the Judge of the game. They are often also the person who has written the story in which the player characters live.