An inning, or innings, is a fixed-length section of a game in several sports – most notably cricket and baseball when one team would try to score while the other team would try to stop the first from scoring. In baseball, a team's turn to score is called a "half-inning" instead. A team's scoring turn ends in these sports when the players on the scoring team have been "put out" (made to leave the field because of their mistakes during gameplay) a certain number of times.
In cricket, a team's innings ends when they no longer have two players who are allowed to bat. This almost always happens when 10 of the 11 players on the team are out (batsmen who are put out are not allowed to bat again during the innings). A team's innings can also end when they have reached a time limit, or the ball has been legally thrown to their players to try to hit and score a certain number of times (as in T20 cricket, where each team is limited to 120 such throws), if the team had agreed to such limitations before the game. The term "innings" can also refer to a single batter's turn to bat, or the number of runs they score during their turn.