A baseball game has nine innings. Visitors bat in the top of each inning. The home team bats in the bottom of each inning.