During a baseball game, a pitcher is throwing the ball while the batter is preparing to swing at it.