When ball is in air and caught without touching the ground by opposing team, the batter is automatically out and any already onbase runners must return to the tag the base they were on before the hit.
If batter swings and misses its a strike. If a batter doesnt swing but its a fair pitch (over the plate and above knees and at or below chest) its a strike. If the batter hits the ball outside of 90 degree range, its a foul ball and counts as a strike (but cant count for third strike or "strikeout" condition).
If pitcher throws ball outside of fair zone, and batter doesnt swing at it, its a "ball".
If batter gets 3 strikes he's out. If pitcher throws 4 "balls", its a "walk" and batter advances to 1st base for free and any runners on base in front of batter get to advance 1 base as well.
Game is 9 innings, each team gets one turn at offense and one turn at defense per inning. Each team's turn lasts until there are 3 outs.
If teams are still tied at end of 9th inning, they simply continue playing more innings until they are no longer tied. There are no game clocks in baseball.