In chess, clocks are used to keep track of how much time each player spends on the game. The first player to run out of time loses the game.