A baseball player wearing white with blue sleeves and a gold helmet is swinging to hit a ball.
Someone is swinging a bat
If a baseball player is swinging to hit a ball, it follows that they are swinging a bat. Someone is a more generic term to describe the baseball player.
(-x)
(-x)