What is a speedrun in video games?

In gaming, a speedrun is the task of playing a game, or a section of a game, with the goal of completing it as quickly as possible. While there are many categories of speedrunning, they often include strategy, planned routes, or even glitches to get to the end credits of the game in the shortest possible time.