Hi,
A batter who accumulates three strikes in a single batting appearance has struck out and is ruled out (with the exception of an uncaught third strike); a batter who accumulates four balls in a single occurrence.

Thank you,

For More Reference: Healthcare animation