Learn about this topic in these articles:

rules of baseball

To meet the offensive force of the team at bat, the rules provide the fielding team with ways of making outs. A
putout removes the player from offensive play until his next turn at bat. The batting team’s inning continues until three
putouts are made; then it goes into the field and the opponent comes to bat.