In baseball, how many strikes can the batter have before he…

In baseball, how many strikes can the batter have before he is out?   (A “strike” is called when the batter: Fails to swing at a pitch that crosses the plate in the strike zone, swings at a pitch and misses, hits the ball out of bounds with fewer than two strikes against them.)