The shot clock is used to ensure that teams attempt a shot within a specified time limit. It prevents teams from stalling and encourages an exciting, fast-paced game.